Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Array.Sort Method

Sorts the elements in one-dimensional Array objects.

Name Description
Array.Sort (Array) Sorts the elements in an entire one-dimensional Array using the IComparable implementation of each element of the Array.

Supported by the .NET Compact Framework.

Array.Sort (Array, Array) Sorts a pair of one-dimensional Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the IComparable implementation of each key.
Array.Sort (Array, IComparer) Sorts the elements in a one-dimensional Array using the specified IComparer.

Supported by the .NET Compact Framework.

Array.Sort (Array, Array, IComparer) Sorts a pair of one-dimensional Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the specified IComparer.

Supported by the .NET Compact Framework.

Array.Sort (Array, Int32, Int32) Sorts the elements in a range of elements in a one-dimensional Array using the IComparable implementation of each element of the Array.
Array.Sort (Array, Array, Int32, Int32) Sorts a range of elements in a pair of one-dimensional Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the IComparable implementation of each key.
Array.Sort (Array, Int32, Int32, IComparer) Sorts the elements in a range of elements in a one-dimensional Array using the specified IComparer.

Supported by the .NET Compact Framework.

Array.Sort (Array, Array, Int32, Int32, IComparer) Sorts a range of elements in a pair of one-dimensional Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the specified IComparer.

Supported by the .NET Compact Framework.

Array.Sort (T[]) Sorts the elements in an entire Array using the IComparable generic interface implementation of each element of the Array.

Supported by the .NET Compact Framework.

Array.Sort (T[], Generic Comparison) Sorts the elements in an Array using the specified Comparison.

Supported by the .NET Compact Framework.

Array.Sort (T[], Generic IComparer) Sorts the elements in an Array using the specified IComparer generic interface.

Supported by the .NET Compact Framework.

Array.Sort (T[], Int32, Int32) Sorts the elements in a range of elements in an Array using the IComparable generic interface implementation of each element of the Array.

Supported by the .NET Compact Framework.

Array.Sort (T[], Int32, Int32, Generic IComparer) Sorts the elements in a range of elements in an Array using the specified IComparer generic interface.

Supported by the .NET Compact Framework.

Array.Sort (TKey[], TValue[]) Sorts a pair of Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the IComparable generic interface implementation of each key.

Supported by the .NET Compact Framework.

Array.Sort (TKey[], TValue[], Generic IComparer) Sorts a pair of Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the specified IComparer generic interface.

Supported by the .NET Compact Framework.

Array.Sort (TKey[], TValue[], Int32, Int32) Sorts a range of elements in a pair of Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the IComparable generic interface implementation of each key.

Supported by the .NET Compact Framework.

Array.Sort (TKey[], TValue[], Int32, Int32, Generic IComparer) Sorts a range of elements in a pair of Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the specified IComparer generic interface.

Supported by the .NET Compact Framework.

Community Additions

Show:
© 2014 Microsoft