This online tool can help you to understand how C# source code works with the Just-In-Time compiler(JIT) and the Intermediate Language (IL) code generated by the C# compiler.

If you switch to decompile to C# you can see more information about this simple example.
This decompiles C#, compiles code, then decompiles the generated assembly as C#.
The result of the decompiling process for the source code from the image is this:

Change your source code with this, see documentation:

… then decompile to see all changes:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translate »