Search code examples
c#compiler-construction

Where can I read up on what the C# compiler does?


Throughout this site I commonly see people answer questions with such answers as "it works like that because the compiler replaces [thing] with [other thing]", so my question is, how do people know/learn this? Where can I learn these things?


Solution

  • The most definitive source for how the C# compiler interprets code is the C# language spec.

    Also the following blogs provide a lot of more insight into the C# language. Mandatory reading for anyone who wants to become an expert in the language