The overloads of ToArray are listed below. For a list of all members, see the ArrayList Members list.
ToArray() : object[]Copies the elements of the current instance to a new object array.ToArray(Type) : ArrayCopies the elements of the current instance to a new array of the specified Type.
Copies the elements of the current instance to a new object array.
Copies the elements of the current instance to a new array of the specified Type.