3 ms·
Paolo Moretti comment: In C# 5.0, this problem is fixed and you can close over loop variables and get the results you expect.
by gregman1 7y ago
Paolo Moretti comment:
In C# 5.0, this problem is fixed and you can close over loop variables and get the results you expect.