List<T>.Sort Method

Sorts the elements in the List<T> or a portion of it.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Sort() Sorts the elements in the entire List<T> using the default comparer.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Sort(IComparer<T>) Sorts the elements in the entire List<T> using the specified comparer.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Sort(Comparison<T>) Sorts the elements in the entire List<T> using the specified System.Comparison<T>.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Sort(Int32, Int32, IComparer<T>) Sorts the elements in a range of elements in List<T> using the specified comparer.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft