public static class ForEachExtension<ExtensionAttribute>
Public NotInheritable Class ForEachExtension[ExtensionAttribute]
public ref class ForEachExtension abstract sealed[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type ForEachExtension = class end| ForEachT(IEnumerableT, ActionT, Int32) | Immediately executes the given action on each element in the source sequence. Each element's index is used in the logic of the action. | 
| ForEachT(IEnumerableT, ActionT) | Immediately executes the given action on each element in the source sequence. |