using System; using System.Runtime.InteropServices; namespace System.Collections { /// Exposes a method that compares two objects. /// 1 // Token: 0x02000132 RID: 306 [ComVisible(true)] public interface IComparer { /// Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. /// Value Condition Less than zero is less than . Zero equals . Greater than zero is greater than . /// The first object to compare. /// The second object to compare. /// Neither nor implements the interface.-or- and are of different types and neither one can handle comparisons with the other. /// 2 // Token: 0x06000FDF RID: 4063 int Compare(object x, object y); } }