CopyTo(Array array, int index) method

Syntax
void CopyTo( Array array, int index )
Remarks

Copies the contents of the collection into the given array starting at the specified index.

Parameters
  • array   The array to which to copy the contents of the collection.

  • index   The index in the array at which to begin copying the contents of the collection.