From Eric Lippert’s blog: “don’t close over the loop variable” [duplicate]

A couple of relevant articles from Eric himself, along with some interesting discussion in the comments:

Leave a Comment