Share via


ArrayList.ToArray Method

Copies objects from the ArrayList collection to a new array.

Overload List

Name Description
ArrayList.ToArray () Copies objects from the ArrayList collection to a new Object array.
ArrayList.ToArray (Type) Copies objects from the ArrayList collection to a new array of the specified type.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

ArrayList Class
ArrayList Members
System.Collections Namespace