Mono Class Library: System.Collections.ArrayList Overview | Members

System.Collections.ArrayList.Add Method

Adds the specified object to the end of the current instance.

public virtual int Add (object value)

Parameters

value
The object to be added to the end of the current instance.

Returns

A int that specifies the index of the current instance at which value has been added.

Exceptions

TypeReason
NotSupportedExceptionThe current instance is read-only or has a fixed size.

Remarks

Operation
As described above.

Requirements

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0