LockingCollectionTCopyTo Method

Copies the elements of the LockingCollectionT to an Array, starting at a particular arrayIndex.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
C#
public void CopyTo(
	T[] array,
	int arrayIndex
)

Parameters

array  T
The one-dimensional Array that is the destination of the elements copied from LockingCollectionT. The Array must have zero-based indexing.
arrayIndex  Int32
The zero-based index in array at which copying begins.

Implements

ICollectionTCopyTo(T, Int32)

See Also