0
Answer

C# compiler expand our code?

George George

George George

16y
1.8k
1

Hello everyone,


How could we see the C# compiler expand our code (I mean at source code level, not using ILDasm to see at IL level or using Diassembly at native assembly code level)?

For example, this is how foreach is expanded in C#.

http://www.csharpfriends.com/Spec/index.aspx?specID=15.8.4.htm


thanks in advance,
George