Behind the compiler: 20 examples of C# code before and after compiling
Over years I have written many blog posts about C# and .NET that demonstrate also how things work internally and what C# compiler produces from the code we write. I have called these chapters usually as “Behind the compiler”. This post is growing list of my writings covering interesting findings about C# compiler work.
Behind the compiler posts
- Throw expressions in C# 7.0
- Using-declarations in C# 8.0
- Expression bodied members in C# 7.0
- More expression-bodied members in C#
- Internals of tuple literals
- Default literal expressions in C# 7.1
- C# and Partial Classes
- Non-trailing named arguments in C# 7.2
- Writing IL code on Visual Studio
- IL perversions: throwing and catching strings
- var keyword in C#
- Pattern matching in switch statements
- Adding attribute to backing field of automated property
- Are lock and Monitor the same in C#?
- Deep dive to async Main
- Anonymous types in C#
- Out variables in C# 7.0
- All about IDisposable
- Code Contracts: How they look after compiling?
- Automatic properties in C#
Pingback:Dew Drop – January 20, 2020 (#3115) | Morning Dew
Pingback:The Morning Brew - Chris Alcock » The Morning Brew #2914
Pingback:The Morning Brew - Chris Alcock » The Moring Brew #2918