VPEnumerableExtensions ForEach Method Virtual Photonics - VTS Library
Virtual Photonics
Overload List

  NameDescription
Public methodStatic memberForEach T (IEnumerable T , Action T )
Method for applying an action to any enumerable sequence. This is the analog of Select, but with no output (only "side effects"). This overload takes in an Action with an additional int parameter that provides the index of the sequence.
Public methodStatic memberForEach T (IEnumerable T , Action T, Int32 )
Method for applying an action to any enumerable sequence. This is the analog of Select, but with no output (only "side effects"). This overload takes in an Action with an additional int parameter that provides the index of the sequence.
Back to Top
See Also