Property this
this[int]
Get an item from the list.
Declaration
public ref T this[in int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
int | index | The index of the item to get. |
Property Value
Type | Description |
---|---|
T | A reference to the item. |
Exceptions
Type | Condition |
---|---|
IndexOutOfRangeException | If the index is invalid. |