## Array::operator[](int) method


Returns an item at the specified index.

```cpp
UnderlyingType & System::Array<T>::operator[](int index)
```


| Parameter | Type | Description |
| --- | --- | --- |
| index | int | Index of the item to return |

### ReturnValue

A reference to an item at specified position

## See Also

* Typedef [UnderlyingType](../underlyingtype/)
* Class [Array](../)
* Namespace [System](../../)
* Library [Aspose.TeX for C++](../../../)
## Array::operator[](int) const method


Returns an item at the specified index.

```cpp
UnderlyingType const  & System::Array<T>::operator[](int index) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| index | int | Index of the item to return |

### ReturnValue

A const reference to an item at the specified position

## See Also

* Typedef [UnderlyingType](../underlyingtype/)
* Class [Array](../)
* Namespace [System](../../)
* Library [Aspose.TeX for C++](../../../)
