System.Collections.StructuralComparisons.StructuralComparer Property

Gets a predefined object that performs a structural comparison of two objects.

Syntax

public static IComparer StructuralComparer { get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the IComparer object returned by this property is passed to the comparison method of a collection object, such as Array.System#Collections#IStructuralComparable#CompareTo(object, IComparer) or Tuple`3.System#Collections#IStructuralComparable#CompareTo(object, IComparer), its IComparer.Compare(object, object) method is called for each member of an array or for each component of a tuple. This implementation of the IComparer.Compare(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