Initializes a new instance of the System.Collections.Generic.Dictionary class that is empty, has the default initial capacity, and uses the default equality comparer for the key type.
Generic type argument
Generic type argument
Readonly
ItemGets or sets the value associated with the specified key.
Gets the number of key/value pairs contained in the System.Collections.Generic.Dictionary.
The number of key/value pairs contained in the System.Collections.Generic.Dictionary.
Gets a collection containing the keys in the System.Collections.Generic.Dictionary.
A System.Collections.Generic.Dictionary.KeyCollection containing the keys in the System.Collections.Generic.Dictionary.
Gets a collection containing the values in the System.Collections.Generic.Dictionary.
A System.Collections.Generic.Dictionary.ValueCollection containing the values in the System.Collections.Generic.Dictionary.
Removes all keys and values from the System.Collections.Generic.Dictionary.
Determines whether the System.Collections.Generic.Dictionary contains the specified key.
The key to locate in the System.Collections.Generic.Dictionary.
true if the System.Collections.Generic.Dictionary contains an element with the specified key; otherwise, false.
Removes the value with the specified key from the System.Collections.Generic.Dictionary.
true if the element is successfully found and removed; otherwise, false. This method returns false if key is not found in the System.Collections.Generic.Dictionary.
Static
EqualsDetermines whether the specified object instances are considered equal.
The first object to compare.
The second object to compare.
true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.
Represents a collection of keys and values.