ForEach()

List::ForEach(System::Action<T>) method

Applies action to all elements in list.

void System::Collections::Generic::List<T>::ForEach(System::Action<T> action)

Arguments

ParameterTypeDescription
actionSystem::Action<T>Action to apply.

See Also