System::Array::Reverse method

Array::Reverse(const ArrayPtr<Type>&) method

Inverte gli elementi nell’array specificato.

template<typename Type> static void System::Array<T>::Reverse(const ArrayPtr<Type> &arr)
ParametroTipoDescrizione
arrconst ArrayPtr<Type>&Array di destinazione

Vedi anche

Array::Reverse(const ArrayPtr<Type>&, int, int) method

Inverte un intervallo di elementi nell’array specificato.

template<typename Type> static void System::Array<T>::Reverse(const ArrayPtr<Type> &arr, int startIndex, int count)
ParametroTipoDescrizione
arrconst ArrayPtr<Type>&Array di destinazione
startIndexintIndice nell’array in cui inizia l’intervallo da invertire
countintLa dimensione dell’intervallo da invertire

Vedi anche