Method Clear
Clear()
Removes all keys and values from the dictionary and associated value collections.
Declaration
void Clear()
Clear(TKey)
Removes the values in the collection associated with the specified key and removes the key from the dictionary.
Declaration
bool Clear(TKey key)
Parameters
| Type | Name | Description |
|---|---|---|
| TKey | key |
Returns
| Type | Description |
|---|---|
| bool |