Method Clear Clear() Clear both internal hashset and list. Declaration public void Clear() Implements ICollection<T>.Clear()