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