Example of Surprising Closure Behavior
::: {style="font-size: 10pt; background: white; color: black; font-family: courier new"} What do you expect to be outputted from this program (note that line 19 captures the outer variable "i")?
[ 1]{style="color: #2b91af"} [using]{style="color: blue"} System;
[ 2]{style="color: #2b91af"} [using]{style="color: blue"} System.Collections.Generic;
[ 3 …
more ...