One of my favourite C# blogs at the moment is ‘I know the answer (it’s 42)‘ by Abhinaba Basu (http://blogs.msdn.com/abhinaba/). Abhinaba currently works for Microsoft at the development centre in Hyderabad, India.
I really like this blog becuase Abhinaba goes beyond the code an explains why things work the way they do, getting deep into the MSIL (I’ve always been a fan of understanding how things work under the hood ;-)
Of particular interest are the following recent posts:
- Why can we only use constants in a switch-case statement – Investigating how the compiler handles switch statements ‘under the hood’ and explains why non-constants cannot be used with the case operator;
- Switches and jump tables – A more in-depth look at the switch statement;
- Conditional methods and their Parameter evaluation – Investigating the System.Diagnostics.ConditionalAttribute and how it can be used for conditional compilation;
Keep up the great work Abhinaba, I’ve lovin’ your blog!
Thanks :)