Microsoft.Samples.Collections

Heap.Clear Method 

Removes all elements from the Heap.

public virtual void Clear();

Remarks

Count is set to zero. The capacity remains unchanged.

See Also

Heap Class | Microsoft.Samples.Collections Namespace