Possible Duplicate:
Why is there not a ForEach extension method on the IEnumerable interface?
I love the .ForEach method on List<T> in C#. How is this not one of the suite of Extension Methods on IEnumerable<T>?
Why do I have to call .ToList() my collection in order to call an action on each element? Please tell me why? Thank you.
List<T>.ForEach(Action<T> action);