Megosztás a következőn keresztül:


GeneralUtilities.ForEach<T> Method

Definition

public static void ForEach<T> (this System.Collections.Generic.IEnumerable<T> sequence, Action<T> action);
static member ForEach : seq<'T> * Action<'T> -> unit
<Extension()>
Public Sub ForEach(Of T) (sequence As IEnumerable(Of T), action As Action(Of T))

Type Parameters

T

Parameters

sequence
IEnumerable<T>
action
Action<T>

Applies to