Coding Conventions

In addition to other naming conventions, we suggest carefully naming data structures and procedures. We also suggest specific conventions for indentation and commenting.

Naming Data Structures

The following subsections describe how we name other types of objects within projects, such as classes, interfaces, enumerations, and so on.

Classes and Structures

Although it is, again, a matter of contention, we suggest using nonprefixed names for classes (some developers insist in prefixing classes with C). We also suggest that you create property procedures for all properties within your classes (as opposed to using public variables), because this grants you greater flexibility as you continue to evolve your class implementation. ...

Get ASP.NET Developer's JumpStart 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.