IComparer Interface

Exposes a method that compares two objects.

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)

Syntax

public interface IComparer

Remarks

This interface provides a way to customize the sort order for a collection.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

IComparer Members
System.Collections Namespace