Files
Dec2017-Script-Dump/mscorlib/System/Collections/Generic/IComparer.cs
T
2026-06-04 11:42:34 +02:00

19 lines
886 B
C#

using System;
namespace System.Collections.Generic
{
/// <summary>Defines a method that a type implements to compare two objects.</summary>
/// <typeparam name="T">The type of objects to compare.</typeparam>
/// <filterpriority>1</filterpriority>
// Token: 0x02000109 RID: 265
public interface IComparer<T>
{
/// <summary>Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.</summary>
/// <returns>Value Condition Less than zero<paramref name="x" /> is less than <paramref name="y" />.Zero<paramref name="x" /> equals <paramref name="y" />.Greater than zero<paramref name="x" /> is greater than <paramref name="y" />.</returns>
/// <param name="x">The first object to compare.</param>
/// <param name="y">The second object to compare.</param>
// Token: 0x06000CF4 RID: 3316
int Compare(T x, T y);
}
}