Different Types of Naming Convention

Total Post:8

Points:40

C# 
C#
 518  View(s)
Ratings:
Rate this:
  1. Different Types of Naming Convention

    Types of Naming Convention

    There are different types of naming casing style. Different types of casing styles:

    Camel Case (camelCase)

    First letter of the word is lower case and then each first letter of the part of the word is upper case.

    Example: numberOfDays

    Pascal Case (PascalCase)

    First letter of the word is upper case and then each first letter of the part of the word is upper case.

    Example: DataTable

    Underscode Prefix (_underscore)

    The word begins with underscore singe and for the rest of the word use camelCase rule.

    Example: _strFirstName

    Hungarian Notation

    First letter of the word is about its data type and rest of the word is camelCase. Example: iStudentNumber (i=integer)

    Uppercase: All letters of the word are uppercase.

    Example: ID, PI

     

Answer