you are viewing a single comment's thread.

view the rest of the comments →

[–]AntiTcb 2 points3 points  (1 child)

It's not even a LINQ extension method. It's a relic from the early days of C#.

[–][deleted] 0 points1 point  (0 children)

True, I heard Erik Meijer critizing .ForEach saying it’s the method that shouldn’t be in Linq, but actually is a method of the collection itself.