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