.Net Framework > v2.0.50727 > System > Array > Sort<T> Sort<T>(T[])
Sort<T>(T[],IComparer<T>)
Sort<T>(T[],Comparison<T>)
Sort<T>(T[],Int32,Int32)
Sort<T>(T[],Int32,Int32,IComparer<T>)


Sort<T>(T[])

Category
Method
Description
Sorts the elements in an entire System.Array using the System.IComparable`1 generic interface implementation of each element of the System.Array.
Type
void
Character
public, static
Parameters
NameTypeDescription
arrayT[]
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Sort<T>(T[],IComparer<T>)

Category
Method
Description
Sorts the elements in an System.Array using the specified System.Collections.Generic.IComparer`1 generic interface.
Type
void
Character
public, static
Parameters
NameTypeDescription
arrayT[]
comparerSystem.Collections.Generic.IComparer<T>
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Sort<T>(T[],Comparison<T>)

Category
Method
Description
Sorts the elements in an System.Array using the specified System.Comparison`1.
Type
void
Character
public, static
Parameters
NameTypeDescription
arrayT[]
comparisonSystem.Comparison<T>
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Sort<T>(T[],Int32,Int32)

Category
Method
Description
Sorts the elements in a range of elements in an System.Array using the System.IComparable`1 generic interface implementation of each element of the System.Array.
Type
void
Character
public, static
Parameters
NameTypeDescription
arrayT[]
indexInt32
lengthInt32
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Sort<T>(T[],Int32,Int32,IComparer<T>)

Category
Method
Description
Sorts the elements in a range of elements in an System.Array using the specified System.Collections.Generic.IComparer`1 generic interface.
Type
void
Character
public, static
Parameters
NameTypeDescription
arrayT[]
indexInt32
lengthInt32
comparerSystem.Collections.Generic.IComparer<T>
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database