[]
Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.
public void CopyTo(T[] array, int arrayIndex)
| 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. |
Copies the elements of the ICollection to an Array, starting at a particular Array index.
public void CopyTo(Array array, int index)
| 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. |