ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Viewer.Common Assembly / GrapeCity.Viewer.Common Namespace / EnumerableExtensions Class / ForEach<T> Method

In This Topic
    ForEach<T> Method (EnumerableExtensions)
    In This Topic
    Executes action for each sequence item
    Syntax
    'Declaration
     
    Public Shared Sub ForEach(Of T)( _
       ByVal source As IEnumerable(Of T), _
       ByVal action As Action(Of T) _
    ) 
    public static void ForEach<T>( 
       IEnumerable<T> source,
       Action<T> action
    )

    Parameters

    source
    action

    Type Parameters

    T
    See Also