Reverse()

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

Reverses elements in the specified array.

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

Arguments

ParameterTypeDescription
arrconst ArrayPtr<Type>&Target array

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

Reverses a range of elements in the specified array.

template<typename Type> static void System::Array<T>::Reverse(const ArrayPtr<Type> &arr, int startIndex, int count)

Arguments

ParameterTypeDescription
arrconst ArrayPtr<Type>&Target array
startIndexintIndex in the array at which the range to reverse start
countintThe size of the range to reverse

See Also