Class EqualityComparer<T>

Utility class for building default generic equalityComparers.
Type parameters:



Property overview


Method overview

Equals(object obj), Inherited from object ,
Finalize(), Inherited from object ,
GetHashCode(), Inherited from object ,
GetType(), Inherited from object ,
MemberwiseClone(), Inherited from object ,
ToString(), Inherited from object

Property details

S System.Collections.Generic.IEqualityComparer<T> DefaultAccess: Read-Only


A default generic equalityComparer for type T. The procedure is as follows: The object is constructed when this class is initialised, i.e. its static constructors called. Thus, the property will be the same object for the duration of an invocation of the runtime, but a value serialized in another invocation and deserialized here will not be the same object.