The methods of the IComparer interface are listed below. For a complete list of IComparer interface members, see the IComparer Members topic.
Compare | When implemented by a class, compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. |