June 2009 - Posts

14
Comments

Linq: Beware of the 'Access to modified closure' demon by FransBouma

If you're using Linq and Resharper, you've probably seen the warning Resharper shows when you use a foreach loop in which you use the loop variable in a Linq extension method (be it on IQueryable<T> or IEnumerable<T>). In case you don't know...
More Posts