Method ElementAt
ElementAt(int)
Returns a reference to the element at an index.
Declaration
public ref T ElementAt(int index)
Parameters
Type | Name | Description |
---|---|---|
int | index | An index. |
Returns
Type | Description |
---|---|
T | A reference to the element at the index. |
Implements
Exceptions
Type | Condition |
---|---|
IndexOutOfRangeException | Thrown if index is out of bounds. |