13 useful Coding Guidelines documents for C# Developers

I was recently reading a book “Encodo C# Handbook” that includes the guidelines on naming for C# etc …

There are quite a few coding standard documents available and here i list few of thems which i came across .

Although you might find many documents , the key here is to follow guidelines and implement them which is important when working in Teams .

13 useful Coding Guidelines documents for C# Developers

Here are the list of C# Coding Guidelines document

  1. Microsoft’s All-In-One Code Framework Coding Guideline
  2. Design Guidelines for Developing Class Libraries – New one for .NET Framework 4 – You can also find the above document for the earlier versions of Framework in MSDN .
  3. C# Coding Standards document by Lance Hunt – pretty old but should be useful
  4. Coding Guidelines for CSharp 3.0 and 4.0 by aviva Solutions – The downloads here includes the coding guidelines , Visual Studio 2010 rule sets and ReSharper 5 Code Style
  5. Philips Healthcare – C# Coding Standard
  6. Encodo C# Handbook
  7. .NET/SQL/TFS Code & Application Design by SSW – This includes not just for C# but also for SQL Server , Project Management etc .
  8. SharpDevelop C# Coding Style Guide 0.3 by Mike Kruegar
  9. C# Coding Guidelines by Validio Software
  10. The IDesign C# Coding Standard, for development guidelines and best practices
  11. C# Coding Guidelines by agamura
  12. C# Coding Standards and Best Programming Practices by DotnetSpider
  13. Book : Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries (2nd Edition)Microsoft .NET Books)

Do you use the documents anything else apart from the above one’s ? , feel free to add them in the comment section .

    5 Comments

  1. Daniel Marbach
    April 30, 2011
    Reply

    Hy
    We are using Microsoft StyleCop in our team. This makes thinking about Coding Guidelines obsolete 😉

    Daniel

  2. Javin
    May 1, 2011
    Reply

    good collection of links , I am looking for such links written for Java programmers now.let us know if any one come across.

    Javin

  3. Jonathan Allen
    May 3, 2011
    Reply

    In my mind Stylecop is a pale imitation of FxCop. Most of the rules that it has are pointless and some are downright counter-productive. I wouldn’t consider using it again without the use of heavy customization.

  4. October 18, 2011
    Reply

    Have you tried rules for .NET code provided by NDepend?
    http://www.ndepend.com/Features.aspx#CQL

  5. October 18, 2011
    Reply

    @Patrick . I have heard of it but not used it … WIll give a try though 🙂

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you’ll learn about the error message “FileOpenAccessDenied – You do not have permissions to open this file...
  • .NET
  • December 3, 2024
You might have had a situation where your code once worked fine in ASP.NET application but now throws the below...
  • .NET
  • December 3, 2024
C# uses the flower bracket “{” and “}” to identify the block or scope of the function or program ....
  • .NET
  • December 3, 2024