System.Collections.StructuralComparisons.StructuralEqualityComparer Property

Gets a predefined object that compares two objects for structural equality.

Syntax

public static IEqualityComparer StructuralEqualityComparer { get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the IComparer object returned by this property is passed to the equality comparison method of a collection object, such as Array.System#Collections#IStructuralEquatable#Equals(object, IEqualityComparer) or Tuple`3.System#Collections#IStructuralEquatable#Equals(object, IEqualityComparer), its IEqualityComparer.Equals(object, object) method is called for each member of an array or for each component of a tuple. This implementation of the IEqualityComparer.Equals(object, object) method behaves as follows when it compares each item of a collection object with the corresponding item of another collection object:

Requirements

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0