Copies all the elements of the collection to the specified array beginning at the specified index.
Assembly: System (in System.dll)
- Type: System.Array
The one-dimensional array the collection is to be copied into.
- Type: System.Int32
The zero-based index in the destination array where copying is to begin.
Because the entire collection is copied into the array starting at the given index, the destination array must be at least as large as the collection.