Copies the elements from the current instance to the specified Array, starting at the specified index in the array.
Type Reason ArgumentNullException array is null. ArgumentOutOfRangeException index < 0. ArgumentException array has more than one dimension.
-or-
index is greater than or equal to array.Length.
-or-
The sum of index and the ICollection.Count of the current instance is greater than array.Length.
InvalidCastException At least one element in the current instance is not assignment-compatible with the type of array.