Copies the elements of the collection to an array, starting at a particular index.

CopyTo(Array, Int)

public void CopyTo(Array array, int index);
Public Sub CopyTo(ByVal array As Array, ByVal index As Integer)

Parameters

Parameter Description
array Specifies the array to copy to.
index Specifies the index of the destination array at which to begin copying.