Property IList<T>.this
IList<T>.this[int]
Gets or sets the element at the specified index.
Declaration
T IList<T>.this[int index] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index of the element to get or set. |
Returns
| Type | Description |
|---|---|
| T | The element at the specified index. |
Implements
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException |
|
| NotSupportedException | The property is set and the IList<T> is read-only. |