operator[]()

Array::operator method

Returns an item at the specified index.

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

Arguments

ParameterTypeDescription
indexintIndex of the item to return

Return Value

A reference to an item at specified position

Array::operator const method

Returns an item at the specified index.

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

Arguments

ParameterTypeDescription
indexintIndex of the item to return

Return Value

A const reference to an item at the specified position

See Also