开发者

C# Coding Guidelines [duplicate]

This question already has answers here: 开发者_运维技巧 Closed 12 years ago.

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!


You can pick one of the seven coding standards documents listed on this blog post.

These are:

  • IDesign C# coding standards
  • Encodo C# Handbook
  • Microsoft Framework Design Guidelines
  • Denni’s C# Coding Standards document
  • Microsoft’s All-In-One Code Framework Coding Guideline
  • Brad’s Quick Post on Microsoft Internal Coding Guidelines
  • Mike’s C# Coding Style Guide


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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜