Method Clear Clear() Removes all keys and values from the dictionary. Declaration public void Clear()