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.

struct System.​Collections.​IEqualityComparer

Assembly: System.Runtime

Defines methods to support the comparison of objects for equality.

Methods

public bool
Equals​(object x, object y)
x The first object to compare.
y The second object to compare.
Returns <see langword="true" /> if the specified objects are equal; otherwise, <see langword="false" /> .
Determines whether the specified objects are equal.
public int
GetHashCode​(object obj)
obj The <see cref="T:System.Object" /> for which a hash code is to be returned.
Returns A hash code for the specified object.
Returns a hash code for the specified object.