Copies the entire collection to a compatible one-dimensional Array, starting at the beginning of the target array.

Namespace:  Bespoke.Robotics.BrainStem
Assembly:  Bespoke.Robotics.BrainStem (in Bespoke.Robotics.BrainStem.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public void CopyTo(
	Array array,
	int arrayIndex
)
Visual Basic (Declaration)
Public Sub CopyTo ( _
	array As Array, _
	arrayIndex As Integer _
)
Visual C++
public:
virtual void CopyTo(
	Array^ array, 
	int arrayIndex
) sealed

Parameters

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

Implements

ICollection..::.CopyTo(Array, Int32)

See Also