Click or drag to resize

MaxByExtension.MaxBy Method

Overload List
  NameDescription
Public methodStatic memberMaxBy<TSource, TKey>(IEnumerable<TSource>, Func<TSource, TKey>)
Returns the maximal elements of the given sequence, based on the given projection.
Public methodStatic memberMaxBy<TSource, TKey>(IEnumerable<TSource>, Func<TSource, TKey>, IComparer<TKey>)
Returns the maximal elements of the given sequence, based on the given projection and the specified comparer for projected values.
Top
See Also