Private Static Readonly Field Capitalization

Do use Pascal casing in field names

The naming guidelines for fields apply to static public and protected fields. You should not define public or protected instance fields.

MSDN Names of Type Members

Read-only static field = Pascal

MSDN Official Naming Convention

General Rules:

Do use Pascal casing for all public
member, type, and namespace names
consisting of multiple words.

Note that this rule does not apply to
instance fields. For reasons that are
detailed in the Member Design
Guidelines, you should not use public
instance fields.

Do use camel casing for parameter
names.

Full List:

IDENTIFIER             CASE        EXAMPLE
----------------------+-----------+---------------
Class                  Pascal      AppDomain 
Enumeration types      Pascal      ErrorLevel 
Enumeration values     Pascal      FatalError 
Event                  Pascal      ValueChanged 
Exception class        Pascal      WebException 
Read-only static field Pascal      RedValue 
Interface              Pascal      IDisposable 
Method                 Pascal      ToString 
Namespace              Pascal      System.Drawing 
Parameter              Camel       typeName 
Property               Pascal      BackColor 

MSDN Official Naming Convention

Also consider

  • MSDN Guidelines for Names
  • MSDN General Naming Conventions

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)