Click or drag to resize
ArrayListAddRange Method
Adds the elements of an ICollection to the end of the ArrayList.

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public virtual void AddRange(
	ICollection c
)

Parameters

c
Type: System.CollectionsICollection
The ICollection whose elements should be added to the end of the ArrayList. The collection itself cannot be null, but it can contain elements that are null.
Exceptions
ExceptionCondition
ArgumentNullExceptionc is null.
NotSupportedExceptionThe ArrayList is read-only.-or- The ArrayList has a fixed size.
See Also