Skip to content

Instantly share code, notes, and snippets.

@Fosna
Created January 22, 2016 09:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fosna/3036bc2e5eaaff1a7697 to your computer and use it in GitHub Desktop.
Save Fosna/3036bc2e5eaaff1a7697 to your computer and use it in GitHub Desktop.
It's suggested to use LINQPad 5 (download link: http://www.linqpad.net/download.aspx). See how Roslyn C# compiler generates abstract syntax tree for expression a + b. See how does IL code for this expression look like.
int a = 0;
int b = 0;
int c = 0;
c = a + b;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment