SortedSet<T>.Clear Method

Definition

Removes all elements from the set.

public:
 virtual void Clear();
public virtual void Clear ();
abstract member Clear : unit -> unit
override this.Clear : unit -> unit
Public Overridable Sub Clear ()

Implements

Remarks

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

Applies to