KGy SOFT

CacheTKey, TValueClear Method

KGy SOFT Core Libraries Help

Namespace:  KGySoft.Collections
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.0.0
Syntax

public void Clear()

Implements

ICollectionTClear
IDictionaryClear
Remarks

The Count property is set to 0, and references to other objects from elements of the collection are also released. The Capacity remains unchanged.

This method is an O(1) operation.

See Also

Reference