C # Coding Specification
In order to make the software easier to maintain later, it is necessary to set up a coding standard.
It has long been discussed and studied by the discovery of this matter:
Http://www.cnblogs.com/iouniuniu/archive/2004/03/19/3572.aspx
Http://blogs.msdn.com/ericgu/archive/2004/01/19/60315.aspx
Now let's start with what they're talking about: find the following templates:
1.Microsoft
Microsoft Company's recommendations on programming style:
Http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconnetframeworkdesignguidelines.asp
Another programming specification for security
Http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/seccodeguide.asp
In addition, Microsoft provides a tool FxCop that you can use to check the code's standardization:
http://gotdotnet.com/team/fxcop/
2.SharpDevelop (www.icSharpCode.net)
There is an open source project called SharpDevelop, which provides a coding specification in the software
Www.icSharpCode.net
The tool also integrates the following:
Unit Test tool for Nunit:.net
NDoc:. NET automatic source code to generate documentation tools
Nprof: Performance monitoring and optimization tools
3.IDesign
Http://www.idesign.net/idesign/is said to be a good site, the site also provides a coding code, you can refer to the
Http://www.idesign.net/idesign/download/IDesign%20CSharp%20Coding%20Standard.zip
CSDN has been translated into the Code code:
http://www.csdn.net/develop/Read_Article.asp?id=25417
4.Philips
Http://www.tiobe.com/standards/gemrcsharpcs.pdf
5. A code specification in the computer world's elite area
http://www.dev-club.com/club/bbs/showEssence.asp?id=25548
It's better to look at Microsoft's official standards first.