FxCop is a free code-analysis tool that checks DotNet assemblies for conformance to various design and style guidelines.  Think of it as "lint" for DotNet.

http://www.gotdotnet.com/team/fxcop/

----
CategoryDotNet