3 ms·Is there a reason for C#'s reuse of the variable in a foreach?1 points by jermaustin1 7y agogregman1 7y agoPaolo Moretti comment: In C# 5.0, this problem is fixed and you can close over loop variables and get the results you expect.