Code Analysis vs Code Contracts

16 Feb 2013 tips

I’ve started using Microsoft’s Code Contracts and finding some interesting interactions with Code Analysis (aka fxCop), a feature of Visual Studio that I’m already using heavily.


So you should never catch Exception ...

21 Feb 2013 smart-code

It’s generally accepted practice that you should never catch Exception.