If you haven’t used FxCop and you are writing code in C# go get it at http://www.gotdotnet.com/team/fxcop/ .  This program rocks and will make your code better.  The hard part is that on first run you’re going to get a surprising amount of issues and start trying to ignore half of the bugs.  I mean why program for global concerns if I know the code is always going to in English.  Because it’s the right thing to do!  You never know what you are going to reuse so take the time to write it correctly.


For example I was pretty bugged at the issue raised that any parameter containing the word “Url” should be turned into an Uri object or at least only be an overload that turns it into an Uri object to pass to the real code.  I don’t need that.  Well it bugged me enough that instead of excluding the error I tried changing my code.  It really does make my code better.  Thanks FxCop.