A set of coding guidelines for C# 3.0, C# 4.0 and C# 5.0, design principles and layout rules for improving the overall quality of your code development.
Read the original release information
Looking for feedback
If you have any feedback, additions or other remarks, contact me through
Twitter or email.
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.
An updated version of the new C# 3.0, C# 4.0 and C# 5.0 Coding Guidelines
is published regularly
A cheat sheet of those guidelines, printable on one A4 sheet is available here
with recommended Static Code Analysis rules for Line-of-Business applications and Framework/Class Libraries can be downloaded
A list of proposals of new guidelines to include in a next version of the document can be found
November 2012 (major update including new C# 5.0 guidelines)
Who is using it?