IEnumerable<T>.ForEach Method

Definition

Performs the specified action on each element of the sequence.

Delphi
procedure ForEach(const action: Action<T>)

Parameters

action
Action<T>

The action to perform on each element.

Exceptions

action is nil .