IEquatable<T>
Interface · global namespace
interface IEquatable<T>Equality for generic containers (List<T>.IndexOf, List<T>.Contains, the keys of a Dictionary).
Numbers, bool, char, enums and string implement it; a struct implements it by defining Equals.
Methods
Section titled “Methods”| Name | Description |
|---|---|
Equals |
Whether this value equals other. |
Equals
Section titled “Equals”bool Equals(T other)Whether this value equals other.