Copies the elements of the ICollection to an Array, starting at a particular Array index.

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public void CopyTo(
	T[] array,
	int index
)
Visual Basic
Public Sub CopyTo ( 
	array As T(),
	index As Integer
)

Parameters

array
Type: array<T>[]()[][]
The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.
index
Type: System..::..Int32
The zero-based index in array at which copying begins.

Implements

ICollection<(Of <(<'T>)>)>..::..CopyTo(array<T>[]()[][], Int32)

See Also