suggest change


Use it at all?

You might argue that the intention of the .NET framework is that queries do not have any side effects and the ForEach method is by definition causing a side effect. You might find your code more maintainable and easier to test if you use a plain foreach instead.

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents