dictionary class : Clear() method
Description
Removes all keys and values from the dictionary.
Syntax
dictionaryInstance.Clear()
Arguments
None
Return value
None
Sample code
//anyDictionary is a instance of dictionary{string} type.
anyDictionary.Clear();
Notes
It's a wrapper of the System.Collections.Generic.Dictionary<TKey, TValue>.Clear().