ArraySectionTCopyTo(ArraySectionT, Int32) Method

Copies the items of this ArraySectionT to a compatible instance, starting at a particular index.

Definition

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

Parameters

target  ArraySectionT
The ArraySectionT that is the destination of the elements copied from this instance.
targetIndex  Int32  (Optional)
The zero-based index in target at which copying begins.

See Also