ForEach()

Array::ForEach(const ArrayPtr<T>&, System::Action<T>) method

Performs specified action on each element of the specified array.

static void System::Array<T>::ForEach(const ArrayPtr<T> &arr, System::Action<T> action)

Arguments

ParameterTypeDescription
arrconst ArrayPtr<T>&Target array
actionSystem::Action<T>The action to perform on each element of the array

See Also