Sorts the elements in the specified one-dimensional Array using the
specified IComparer implementation.
[Edit]
[System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail)] public static void Sort (Array array, IComparer comparer) |
|
Parameters
- array
- The one-dimensional Array to sort.
[Edit]
- comparer
- The IComparer implementation to use when comparing elements. Specify a null reference to use the IComparable implementation of each element.
[Edit]
Exceptions
Remarks
Requirements
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0