Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: IEnumerable<T> MaxElements<T, TValue>(this IEnumerable<T>, Func<T, TValue>)

Declaration

public static IEnumerable<T> MaxElements<T, TValue>(
    this IEnumerable<T> source,
    Func<T, TValue> valueSelector
)

Summary

Returns all elements for which the valueSelector returns the largest value, or an empty sequence if the input sequence is empty.

Generic type parameters

TThis type parameter is not documented.
TValue
  • Must derive from: System.IComparable<TValue>.
This type parameter is not documented.