Method Clear Clear() Removes all values. Declaration public void Clear() Remarks Does not change the capacity.