public void Reset()
Public Sub Reset
public:
virtual void Reset() sealed
abstract Reset : unit -> unit
override Reset : unit -> unit
The Count property is set to 0, and references to other objects from elements of the collection are also released. The Capacity remains unchanged. The statistics will be reset.
This method is an O(1) operation.