Method Bottom
Bottom<TSource, TResult>(IEnumerable<TSource>, SortDefinition<TSource>, Func<TSource, TResult>)
Returns the bottom result.
public static TResult Bottom<TSource, TResult>(this IEnumerable<TSource> source, SortDefinition<TSource> sortBy, Func<TSource, TResult> selector)
Parameters
source
IEnumerable<TSource>The source.
sortBy
SortDefinition<TSource>The sort order.
selector
Func<TSource, TResult>The selector.
Returns
- TResult
The bottom result.
Type Parameters
TSource
The source type.
TResult
The result type.