Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface System.​Collections.​IEqualityComparer
Assembly: System.Runtime
Defines methods to support the comparison of objects for equality.
Methods
bool
Equals​(object x,
object y)
Determines whether the specified objects are equal.
Returns <see langword="true" /> if the specified objects are equal; otherwise, <see langword="false" /> .
x
The first object to compare.
y
The second object to compare.
int
GetHashCode​(object obj)
Returns a hash code for the specified object.
Returns A hash code for the specified object.
obj
The <see cref="T:System.Object" /> for which a hash code is to be returned.