System::Array::operator[] method

Array::operator method

Returns an item at the specified index.

UnderlyingType & System::Array<T>::operator[](int index)
ParameterTypeDescription
indexintIndex of the item to return

ReturnValue

A reference to an item at specified position

See Also

Array::operator const method

Returns an item at the specified index.

UnderlyingType const  & System::Array<T>::operator[](int index) const
ParameterTypeDescription
indexintIndex of the item to return

ReturnValue

A const reference to an item at the specified position

See Also