GeneralUtilities.ForEach<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>