Method Clear Clear() Clears all the values in this set and removes the key from the dictionary. Declaration public void Clear() Implements ICollection<T>.Clear()