Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries, Second Edition
by Krzysztof Cwalina, Brad Abrams
A C# Coding Style Conventions
UNLIKE THE FRAMEWORK Design Guidelines, these coding style conventions are not required and should be treated as a set of suggestions. The reason we don’t insist on following these coding conventions is that they have no direct effect on the end user of the framework.
There are many coding style conventions, each with its own history and philosophy. The conventions described here have the following goals:
• The conventions must be something real developers use. To accomplish this goal, we reviewed sources written by the .NET Framework developers and rejected any conventions that were proposed but are not used widely in code contributing to the Framework.
• The conventions are optimized for brevity, within reason. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access