Full threadgregman1·Paolo Moretti comment:In C# 5.0, this problem is fixed and you can close over loop variables and get the results you expect.View on HN