Method IList<T>.Insert
IList<T>.Insert(int, T)
Inserts an item to the IList<T> at the specified index.
Declaration
void IList<T>.Insert(int index, T item)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index at which |
| T | item | The object to insert into the IList<T>. |
Implements
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException |
|
| NotSupportedException | The IList<T> is read-only. |