interface IStructuralEquatable

in global :: System . Collections

Defines methods to support the comparison of objects for structural equality.


public bool Equals( object other, IEqualityComparer comparer )

Determines whether an object is structurally equal to the current instance.

  • other The object to compare with the current instance.
  • comparer An object that determines whether the current instance and are equal.
  • Returns if the two objects are equal; otherwise, .

public int GetHashCode( IEqualityComparer comparer )

Returns a hash code for the current instance.

  • comparer An object that computes the hash code of the current object.
  • Returns The hash code for the current instance.