Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: void SortBy<T, TBy>(this List<T>, Func<T, TBy>)

Declaration

public static void SortBy<T, TBy>(
    this List<T> list,
    Func<T, TBy> selector
)

Summary

Sorts the specified list by the specified selector.

Generic type parameters

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