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 most users of a framework.

There are many coding style conventions, each with its own history and philosophy. The conventions described here are, more or less, the conventions used by the .NET BCL team since moving .NET to open source. Since many other projects have set their coding style based on the .NET BCL team coding style guidelines, the third edition of this book replaced the previous contents of this appendix with this new de facto standard.

Since most developers have an ...

Get Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.