Inserts an item to the current instance at the specified position.
Type Reason ArgumentOutOfRangeException index is not a valid index in the current instance (i.e. is greater than the number of elements in the current instance). NotSupportedException The current instance is read-only or has a fixed size.
Operation
If index equals the number of items in the IList, then value is required to be appended to the end of the current instance.Usage
Use IList.Insert(int, object) to place a new element into a specific position in the current instance.
Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0