Search

Project Description
A set of coding guidelines for C# 3.0 and C# 4.0, design principles, layout rules, FxCop rulesets and (upcoming) custom FxCop and StyleCop rules for improving the overal quality of your code developement.

Background
Read the original release information here 

C# Coding Guidelines, not C# Coding Standard
We don't think that projects should be required to comply with rules, neither do we say which guidelines are more important than others. As such, you won't find a C# Coding Standard in the traditional form. However, we encourage projects to decide for themselves what guidelines are important, what deviations a project will use, who is the consultant in case doubts arise, and what kind of layout must be used for source code. Obviously, you should make these decisions before starting the real coding work.

Current Contents

  • An updated version of the new C# 3.0 and C# 4.0 Coding Guidelines is published regularly here
  • A cheat sheet of those guidelines, printable on one A4 sheet is available here as well.
  • Rule Sets with recommended FxCop rules for Line-of-Business applications and Framework/Class Libraries can be downloaded here
  • The previous version, the C# 3.0 Coding Guidelines including a Quick Reference Sheet can still be downloaded here
  • A list of proposals of new guidelines to include in a next version of the document can be found here
  • A ReSharper 5/6 Code Layout template

Latest Version
July 2011 (minor update since January 2011)

Last edited Jul 25 2011 at 7:40 PM by dennisdoomen, version 34
Updating...
© 2006-2012 Microsoft | Get Help | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2012.1.11.18365