Property this
this[int]
The element at a given index.
Declaration
public T this[int index] { readonly get; set; }
Parameters
Type | Name | Description |
---|---|---|
int | index | An index. |
Property Value
Type | Description |
---|---|
T | The value to store at the index. |
Implements
Exceptions
Type | Condition |
---|---|
IndexOutOfRangeException | Thrown if the index is out of bounds. |