Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
System Namespace
Array Class
Array Methods
Sort Method

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
Array..::.Sort Method

Sorts the elements in one-dimensional Array objects.

  NameDescription
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSort(Array)Sorts the elements in an entire one-dimensional Array using the IComparable implementation of each element of the Array.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSort<(Of <(T>)>)(array<T>[]()[])Sorts the elements in an entire Array using the IComparable<(Of <(T>)>) generic interface implementation of each element of the Array.
Public methodStatic memberSort(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.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSort(Array, IComparer)Sorts the elements in a one-dimensional Array using the specified IComparer.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSort<(Of <(T>)>)(array<T>[]()[], IComparer<(Of <(T>)>))Sorts the elements in an Array using the specified IComparer<(Of <(T>)>) generic interface.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSort<(Of <(T>)>)(array<T>[]()[], Comparison<(Of <(T>)>))Sorts the elements in an Array using the specified Comparison<(Of <(T>)>).
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSort<(Of <(TKey, TValue>)>)(array<TKey>[]()[], array<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<(Of <(T>)>) generic interface implementation of each key.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSort(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.
Public methodStatic memberSort(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.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSort<(Of <(T>)>)(array<T>[]()[], Int32, Int32)Sorts the elements in a range of elements in an Array using the IComparable<(Of <(T>)>) generic interface implementation of each element of the Array.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSort<(Of <(TKey, TValue>)>)(array<TKey>[]()[], array<TValue>[]()[], IComparer<(Of <(TKey>)>))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<(Of <(T>)>) generic interface.
Public methodStatic memberSort(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.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSort(Array, Int32, Int32, IComparer)Sorts the elements in a range of elements in a one-dimensional Array using the specified IComparer.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSort<(Of <(T>)>)(array<T>[]()[], Int32, Int32, IComparer<(Of <(T>)>))Sorts the elements in a range of elements in an Array using the specified IComparer<(Of <(T>)>) generic interface.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSort<(Of <(TKey, TValue>)>)(array<TKey>[]()[], array<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<(Of <(T>)>) generic interface implementation of each key.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSort(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.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSort<(Of <(TKey, TValue>)>)(array<TKey>[]()[], array<TValue>[]()[], Int32, Int32, IComparer<(Of <(TKey>)>))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<(Of <(T>)>) generic interface.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker