[]
        
(Showing Draft Content)

C1.DataCollection.C1DataCollectionList-1.CopyTo

CopyTo Method

CopyTo(T[], int)

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

Declaration
public void CopyTo(T[] array, int arrayIndex)
Parameters
Type Name Description
T[] array

The one-dimensional Array that is the destination of the elements copied from ICollection<T>. The Array must have zero-based indexing.

int arrayIndex

The zero-based index in array at which copying begins.

Implements

CopyTo(Array, int)

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

Declaration
public void CopyTo(Array array, int index)
Parameters
Type Name Description
Array array

The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.

int index

The zero-based index in array at which copying begins.

Implements