Last updated 5 years ago
Was this helpful?
Applies the given function to each element of the collection.
WARNING This function causes evaluation.
WARNING
This function causes evaluation.
Parameters
Returns
Action<T> action
IEnumerable<T> source
void
Writing elements in console
//IEnumerable<string> source = { "Hello", " ", "Tango" } source.Iterate( value => Console.Write(value) ); //"Hello Tango"
IEnumerable<T>