Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
I've been in a discussion today with one of our customers on good C# coding guidelines/standards, and I confess to not having any good references to give him.
He was nice enough to send me a link to one that he thought was good, which happens to be by Juval Lowy at iDesign.
If you have other coding guidelines that you think are good, feel free to add the to the comments, and I'll try to get them up on our C# dev center.
Comments
Anonymous
January 19, 2004
Here is one...
http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=336Anonymous
January 19, 2004
There is this one from Philips:
http://www.tiobe.com/standards/gemrcsharpcs.pdfAnonymous
January 19, 2004
Just asked this same question in the newsgroups yesterday, here's an answer I got:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconnetframeworkdesignguidelines.aspAnonymous
January 19, 2004
If you install SharpDevelop.
GO TO Menu
Help.Coding Style GuideAnonymous
January 19, 2004
I've heard Lowy's is good, too, but haven't checked it out yet. Here's my favorite so far: http://www.tiobe.com/standards/gemrcsharpcs.pdfAnonymous
January 19, 2004
I am surprised you didnt think of FxCop.??? As an employee aren't you supposed to perfectly cognizant of every single MS application on the planet? :)
Granted FxCop doesnt "give" you the guidlines as much as they enforce them, but it can be really useful tool with formulating your own standards to adopt.Anonymous
January 20, 2004
The comment has been removedAnonymous
January 21, 2004
The comment has been removedAnonymous
January 21, 2004
Here are some Secure Coding Guidelines:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/seccodeguide.aspAnonymous
January 21, 2004
The comment has been removedAnonymous
January 22, 2004
Woo, Shawn, you've never gotten into an argument about the One True Brace Style, have you?Anonymous
January 23, 2004
The comment has been removedAnonymous
January 25, 2004
The comment has been removedAnonymous
January 26, 2004
Food for thought: http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=336, cited above,
says use tabs, not spaces but the topic of this comment says use spaces, not tabs. That's why some more written justification for these "rules" would be helpful.Anonymous
January 26, 2004
The comment has been removedAnonymous
January 28, 2004
FYI, there's a new Version 1.81 dated January 22. As the version number indicates, it's a small change from 1.8.
It's available at http://idesign.net/idesign/download/IDesign%20CSharp%20Coding%20Standard.zipAnonymous
May 11, 2004
FYI, there's a new Version 1.81 dated January 22. As the version number indicates, it's a small change from 1.8.
It's available at http://idesign.net/idesign/download/IDesign%20CSharp%20Coding%20Standard.zipAnonymous
May 11, 2004
This is another stupid one without a reason. The limit on a function size is recommended only for the readability since we are in 21st century with bigger better monitors the 25 lines or for that matter 50 lines does not make any sense at all.
But it is recommended to keep the function size to be "one screenful" whatever it might be in your case. So that the guy who is trying to understand does not have to go up and down and forget everything in the middle.Anonymous
June 24, 2004
It's available at http://idesign.net/idesign/download/IDesign%20CSharp%20Coding%20Standard.zipAnonymous
July 07, 2004
how to make connection code in c#Anonymous
December 18, 2004
Helpful For MBA Fans.Anonymous
December 27, 2004
[http://itpeixun.51.net/][http://aissl.51.net/][http://kukuxz003.freewebpage.org/][http://kukuxz001.51.net/][http://kukuxz003.51.net/][http://kukuxz005.51.net/][http://kukuxz002.51.net/][http://kukuxz004.freewebpage.org/][http://kukuxz007.51.net/][http://kukuxz001.freewebpage.org/][http://kukuxz006.51.net/][http://kukuxz002.freewebpage.org/][http://kukuxz004.51.net/][http://kukuxz008.51.net/][http://kukuxz009.51.net/][http://kukuxz005.freewebpage.org/][http://kukuxz006.freewebpage.org/][http://kukuxz007.freewebpage.org/][http://kukuxz009.freewebpage.org/]Anonymous
March 25, 2005
Ping Back来自:blog.csdn.netAnonymous
July 07, 2006
PingBack from http://sdesmedt.wordpress.com/2006/07/07/implementing-a-source-code-standard-a-necesity/Anonymous
September 19, 2006
Jeg har efterhånden arbejdet på en del projekter med en del mennesker.En ting de alle harAnonymous
March 20, 2007
PingBack from http://patrick.veverka.net/2007/03/20/some-c-coding-guidelines/Anonymous
July 09, 2007
C#编码规范 为了以后软件更加容易维护,还是有必要建立一套编码规范。 发现这件事情早就有人在讨论和研究了: http://www.cnblogs.com/iouniuniu/archive...Anonymous
July 09, 2007
C#编码规范 为了以后软件更加容易维护,还是有必要建立一套编码规范。 发现这件事情早就有人在讨论和研究了: http://www.cnblogs.com/iouniuniu/archive...Anonymous
September 04, 2007
Seems obvious when you state it out loud, however it is quite amazing how many companies seem to missAnonymous
June 01, 2008
According to the C# coding style guidelines available from IDesign.Net (Anonymous
January 21, 2009
PingBack from http://www.keyongtech.com/606882-project-organization-recommendations-or-bestAnonymous
February 20, 2009
PingBack from http://robertstackhouse.com/?p=82Anonymous
June 08, 2009
PingBack from http://hairgrowthproducts.info/story.php?id=300