- T
- Documentation for this section has not yet been entered.
- x
- The first object to compare.
- y
- The second object to compare.
A int containing a value that reflects the sort order of the objects.
Value Condition Less than zero x is less than y. Zero x equals y. Greater than zero x is greater than y. A int containing a value that reflects the sort order of the objects.
Documentation for this section has not yet been entered.
Value Condition Less than zero x is less than y. Zero x equals y. Greater than zero x is greater than y.
Note:This delegate is used by the method Array.Sort(T[], Comparison<T>)(T[], Comparison<T>), and in List<T>to sort the elements of the collection.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0