ArrayList.ToArray Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Copies the elements of the ArrayList to a new array.

Namespace:   System.Collections
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodToArray()

Copies the elements of the ArrayList to a new Object array.

System_CAPS_pubmethodToArray(Type)

Copies the elements of the ArrayList to a new array of the specified element type.

Return to top
Show: