Method CopyTo
CopyTo(T[])
Copies the list to an array.
Declaration
public void CopyTo(T[] array)Parameters
| Type | Name | Description | 
|---|---|---|
| T[] | array | 
CopyTo(T[], int)
Copies the list to an array starting at the specified array index.
Declaration
public void CopyTo(T[] array, int arrayIndex)Parameters
| Type | Name | Description | 
|---|---|---|
| T[] | array | |
| int | arrayIndex | 
Implements
CopyTo(int, T[], int, int)
Copies a range of items from the list to an array starting at the specified array index.
Declaration
public void CopyTo(int index, T[] array, int arrayIndex, int count)Parameters
| Type | Name | Description | 
|---|---|---|
| int | index | |
| T[] | array | |
| int | arrayIndex | |
| int | count | 
