9

Possible Duplicate:
C# Coding standard / Best practices

What are some of the most popular, sensible and detailed C# coding guidelines you recommend?

Related StackOverflow question: C# Coding Standard -- Sadly, this question is old and the answers point to outdated or tiny coding standard documents. With the current base of C# adoption, surely there are better C# coding guideline documents out there!

Community
  • 1
  • 1
Ashwin Nanjappa
  • 76,204
  • 83
  • 211
  • 292
  • The accepted (and by far most popular) answer linked to the Microsoft's Design Guidelines for Developing Class Libraries. That's updated continuously, and I just changed the link in the answer to point to the .NET 4 version. See also [Has anybody published any C# 4 coding standards / guidelines / style guides? ](http://stackoverflow.com/questions/2711954/has-anybody-published-any-c-4-coding-standards-guidelines-style-guides). – Matthew Flaschen Nov 21 '10 at 13:32

3 Answers3

0

This is the official document

Design Guidelines for Class Library Developers

It contains all sorts of guidelines such as Design, Naming , Useage etc.

If you're specifically interested in naming guidelines, the subset of the document contains it here

Naming Guidelines

Shiv Kumar
  • 9,599
  • 2
  • 36
  • 38
0

SubMain have a freely downloadable 100+ page PDF document on C# and VB.NET coding standards. Whilst they were aimed at C#2 upon release, a lot of the guidelines are still good for C#3 and 4.

Russ Cam
  • 124,184
  • 33
  • 204
  • 266