Share via


ArrayList Class

Implements the IList interface by using an array whose size is dynamically increased as necessary.

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

Syntax

[DefaultMemberAttribute]
[DebuggerDisplayAttribute]
[SerializableAttribute]
public class ArrayList : IList, ICollection, IEnumerable, ICloneable

Remarks

The capacity of an ArrayList collection is the maximum number of objects that the collection can contain. As objects are added to an ArrayList collection, its capacity is automatically increased through reallocation accordingly.

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 Members
System.Collections Namespace