System::Array::operator[] method

Array::operator method

Renvoie un élément à l’index spécifié.

UnderlyingType & System::Array<T>::operator[](int index)
ParamètreTypeDescription
indiceintIndex de l’élément à renvoyer

ReturnValue

Une référence à un élément à la position spécifiée

Voir aussi

Array::operator const method

Renvoie un élément à l’index spécifié.

UnderlyingType const  & System::Array<T>::operator[](int index) const
ParamètreTypeDescription
indiceintIndex de l’élément à renvoyer

ReturnValue

Une référence constante à un élément à la position spécifiée

Voir aussi