Copies the elements of the current instance to a new array of the specified Type.
An array of Typetype containing copies of the elements of the current instance.
Type Reason ArgumentNullException type is null. InvalidCastException At least one element of the current instance cannot be cast to the Typetype.
Operation
As described above.The elements are copied using Array.Copy(Array, Array, int).
Note: For the default implementation, this method is an O(n) operation, where n is the ArrayList.Count of the current instance.
Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0