IComparer Interface
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Exposes a method that compares two objects.
Assembly: mscorlib (in mscorlib.dll)
The IComparer type exposes the following members.
This interface is used in conjunction with the Array::Sort and Array::BinarySearch methods. It provides a way to customize the sort order of a collection.
For the generic version of this interface, see System.Collections.Generic::IComparer<T>.
Show:
