System.Collections.Hashtable.EqualityComparer Property

Gets the IEqualityComparer to use for the Hashtable.


protected IEqualityComparer EqualityComparer { get; }


Documentation for this section has not yet been entered.


The IEqualityComparer includes both the comparer and the hash code provider. If an IEqualityComparer is used in the Hashtable constructor, the objects used as keys in the Hashtable are not required to override the object.GetHashCode and object.Equals(object) methods.

Retrieving the value of this property is an O(1) operation.


Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions:,
Since: .NET 2.0