Edit

Share via


SortedSet<T>.Clear Method

Definition

Removes all elements from the set.

C#
public virtual void Clear();

Implements

Remarks

This method is an O(n) operation, where n is Count.

Applies to