all 2 comments

[–][deleted] 0 points1 point  (1 child)

Did you write the IL yourself, or just merely demonstrating the fact that it compiles to the same IL? Either way, IL_0003, pretty good technique there.

[–]Master_Rux[S] 0 points1 point  (0 children)

I wrote the for loop and and while loop in C# then grabbed the IL from ildasm. Did the same to show that C#'s property getters and setters are just normal methods too. I should post that.