CastArrayTFrom, TToClear Method

Clears the items in this CastArrayTFrom, TTo instance so all elements will have the default value of type TTo. To clear the items with a specific value use the Fill method instead.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public void Clear()

Implements

ICollectionTClear
IListClear

See Also