Today I was looking @ the code practice and I was thinking… what a hell i have to remember all this list of rules to write code in a standard way…. what about to have an automated way of doing that to get used to in a while 8-)….
After a quick look I found very interesting StyleCop http://stylecop.codeplex.com/
StyleCop is a source analysis tool for C#. It can be used for analysing source code as opposed to compiled assemblies which is the area for FxCop.
This would be cool if you have no predefined code-style adherence, but if you want to customize the rules, to define custom rule then use http://stylecopplus.codeplex.com/
Last note: if you like using Resharper don’t forget this http://stylecopforresharper.codeplex.com/, yes it highlight the code rules broken as you type, cool I hope will not site down your VS, Resharper is already heavy sometimes…