AllowNullDictionaryTKey, TValueClear Method

Removes all keys and values from the AllowNullDictionaryTKey, TValue.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
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.

This method is an O(1) operation.

See Also