Dictionary Constructor
.NET Framework 2.0
Initializes a new instance of the Dictionary class.
| Name | Description |
|---|---|
| Dictionary () | Initializes a new instance of the Dictionary class that is empty, has the default initial capacity, and uses the default equality comparer for the key type. Supported by the .NET Compact Framework. |
| Dictionary (Generic IDictionary) | Initializes a new instance of the Dictionary class that contains elements copied from the specified IDictionary and uses the default equality comparer for the key type. Supported by the .NET Compact Framework. |
| Dictionary (Generic IEqualityComparer) | Initializes a new instance of the Dictionary class that is empty, has the default initial capacity, and uses the specified IEqualityComparer. Supported by the .NET Compact Framework. |
| Dictionary (Int32) | Initializes a new instance of the Dictionary class that is empty, has the specified initial capacity, and uses the default equality comparer for the key type. Supported by the .NET Compact Framework. |
| Dictionary (Generic IDictionary, Generic IEqualityComparer) | Initializes a new instance of the Dictionary class that contains elements copied from the specified IDictionary and uses the specified IEqualityComparer. Supported by the .NET Compact Framework. |
| Dictionary (Int32, Generic IEqualityComparer) | Initializes a new instance of the Dictionary class that is empty, has the specified initial capacity, and uses the specified IEqualityComparer. Supported by the .NET Compact Framework. |
| Dictionary (SerializationInfo, StreamingContext) | Initializes a new instance of the Dictionary class with serialized data. |