Coding Guidelines for CSharp 3.0, 4.0 and 5.0
Other Available Downloads
I found the guild line is covering all areas and providing best practices.
on Sep 11 at 10:32 AM
Refreshingly pragmatic. I would like to suggest that all coding standards state that everything in here is of course in the end a subjective guideline subject to what is practical and realistic. Suppose we apply a rule on a project that methods with 14 statements must be refactored. Now we pollute a class and it is too wide. Now we split classes and have naming and finding and reasoning problems and unit testing is made harder. Now we introduce DI containers and do not have ability to reason about the methods we read since any or no class may exist to implement IFactoryBeanSingletonVisitorInsuredCoverageChecker... A coding standard can prevent 1980s code smells and create 21st century tar pits. Thus pragmatism rules or ought to. The author of this excellent work knows this but some middle tier intelligence readers may loose sight. A good document but could use a bit more concrete samples. Maybe it should be a peer reviewed wiki in 2016 not a PDF. Needs C#6 and 7 updates.
on Jul 13 at 3:21 PM
@ndmurph04 - maybe you could give some concrete examples?
I found these guidelines among the best in all areas.
on Jul 3, 2014 at 2:20 PM
There is some value in the very basic stuff like naming conventions and general structural stuff, but when it gets to how you design your classes and objects, a non-trivial portion of these recommendations are the exact opposite of what developers should do to create well structured, high-performance web applications, so I would consider them desktop only guidelines. In some key areas, they also negate the performance benefits of the more recent language features.
on Jun 18, 2014 at 2:09 PM
Opera does not support ClickOnce X
To install this application, save it and then open it. Opening it directly from Opera will not work correctly.