Sequence T  CopyTo Method (Int32,  T , Int32, Int32)A Sandcastle Documented Class Library
Copies a given number of elements from this sequence to an array, starting at the position index of this sequence and at the position destinationIndex of the target array. Copying will stop once either the end of this sequence is reached, or the end of the array is reached, or count elements have been copied.

Namespace: Sequences
Assembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
public int CopyTo(
	int index,
	T[] destination,
	int destinationIndex,
	int count
)

Parameters

index
Type: System Int32
The position of this sequence at which copying begins.
destination
Type:  T 
The one-dimensional array that is the destination of the elements copied from this sequence.
destinationIndex
Type: System Int32
The position of the target array at which copying begins.
count
Type: System Int32
The maximum number of elements to copy.

Return Value

Type: Int32
The number of elements copied.

Implements

ISequence T  CopyTo(Int32,  T , Int32, Int32)
See Also