17 lines
698 B
C#
17 lines
698 B
C#
using System;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Defines a generalized method that a value type or class implements to create a type-specific method for determining equality of instances.</summary>
|
|
/// <typeparam name="T">The type of objects to compare.</typeparam>
|
|
// Token: 0x0200000E RID: 14
|
|
public interface IEquatable<T>
|
|
{
|
|
/// <summary>Indicates whether the current object is equal to another object of the same type.</summary>
|
|
/// <returns>true if the current object is equal to the <paramref name="other" /> parameter; otherwise, false.</returns>
|
|
/// <param name="other">An object to compare with this object.</param>
|
|
// Token: 0x0600008C RID: 140
|
|
bool Equals(T other);
|
|
}
|
|
}
|