Adds an item to the current instance.
- value
- The object to add to the current instance.
A int containing the index of the current instance into which the new element was inserted.
Type Reason NotSupportedException The current instance is read-only or has a fixed size.
Operation
As described above.Usage
Use the IList.Add(object) method to add another element to the current instance. The index into which that element is added is implementation-dependent.
Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0