Removes the element at the specified index from the current instance.
- index
- A int that specifies the zero-based index of the element to remove from the current instance. This value is between 0 and the ArrayList.Count of the current instance, inclusive.
Type Reason ArgumentOutOfRangeException index < 0.
-or-
index >= ArrayList.Count of the current instance.
NotSupportedException The current instance is read-only or has a fixed size.
Note: This method is implemented to support the IList interface.Operation
As described above.The element at position index is removed from the current instance, the rest of the elements are shifted down to fill the position vacated by that element, the ArrayList.Count of the current instance is decreased by one, and the position that was previously the last element in the current instance is set to null.
Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0