Naming, Layout Conventions And Design Guidelines


Intro

Naming convention and other design guidelines

 


Common Terms

Two types of capitalization of words

  • PascalCasing - used for all identifiers except parameter names, capitalizes the first character of each word (including acronyms over two letters in length).

  • camelCasing - used only for parameter names, capitalizes the first character of each word except the first word.

  • Hungarian notation - adds a prefix to an identifier which encodes the actual data type (eg. pThisIsAPointer)


.NET Framework Design Guidelines and Naming Conventions

 

These guidelines are excerpted from the book Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries, 2nd Edition, by Krzysztof Cwalina and Brad Abrams.

 


C # Coding Conventions



Microsoft's C# Coding Conventions (C# Programming Guide),

Microsoft's Framework Design Guidelines

DoFactory's C# Coding Standards and Naming Conventions

C# Corner's C# Coding Standards And Naming Conventions

StackOverflow answers


Format and Layout Convention

 

Â