Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

List.Sort Method

Sorts the elements in the List or a portion of it.

Name Description
List.Sort () Sorts the elements in the entire List using the default comparer.

Supported by the .NET Compact Framework.

List.Sort (Generic Comparison) Sorts the elements in the entire List using the specified System.Comparison.

Supported by the .NET Compact Framework.

List.Sort (Generic IComparer) Sorts the elements in the entire List using the specified comparer.

Supported by the .NET Compact Framework.

List.Sort (Int32, Int32, Generic IComparer) Sorts the elements in a range of elements in List using the specified comparer.

Supported by the .NET Compact Framework.

Community Additions

ADD
Show:
© 2015 Microsoft