Mono Class Library: System.Collections.Hashtable Overview | Members

System.Collections.Hashtable Constructor

Constructs and initializes a new instance of the Hashtable class with the specified IHashCodeProvider and the specified IComparer. [Edit]

[System.Obsolete("Please use Hashtable(IEqualityComparer) instead")]
public Hashtable (IHashCodeProvider hcp, IComparer comparer)

Parameters

hcp
The IHashCodeProvider that supplies the hash codes for all keys in the Hashtable; or, null to use the default hash code provider. [Edit]
comparer
The IComparer to use to determine whether two keys are equal; or, null to use the default comparer. [Edit]

Remarks

The new instance is initialized with the default capacity. [Edit]

Requirements

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0