The one-dimensional System.Array that is the destination of the elements copied from System.Collections.Generic.ICollection`1. The System.Array must have zero-based indexing.
The zero-based index in array at which copying begins.
Copies the elements of the System.Collections.Generic.ICollection`1 to an System.Array, starting at a particular System.Array index.
'Declaration
Public Sub CopyTo( _
ByVal array() As System.Integer, _
ByVal arrayIndex As System.Integer _
)
public void CopyTo(
System.int[] array,
System.int arrayIndex
)
Parameters
array
The one-dimensional System.Array that is the destination of the elements copied from System.Collections.Generic.ICollection`1. The System.Array must have zero-based indexing.
arrayIndex
The zero-based index in array at which copying begins.