System::Array::ForEach method

Array::ForEach 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)
ParameterTypeDescription
arrconst ArrayPtr<T>&Target array
actionSystem::Action<T>The action to perform on each element of the array

See Also