ArraySectionTCopyTo(T, Int32) Method

Copies the items of this ArraySectionT to a compatible one-dimensional array, starting at a particular index.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public void CopyTo(
	T[] target,
	int targetIndex = 0
)

Parameters

target  T
The one-dimensional Array that is the destination of the elements copied from this ArraySectionT.
targetIndex  Int32  (Optional)
The zero-based index in target at which copying begins. This parameter is optional.
Default value: 0.

Implements

ICollectionTCopyTo(T, Int32)

See Also