Jump to content

PascalCase: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
'''PascalCase''' is the practice of writing compound words or phrases such that the first letter of each concatenated word is capitalized. No other characters are used to separate the words, like hyphens or underscores.
In programming, '''PascalCase''' is the practice of writing compound words or phrases such that the first letter of each concatenated word is capitalized. No other characters are used to separate the words, like hyphens or underscores.


For example:
For example:

Revision as of 16:22, 18 April 2016

In programming, PascalCase is the practice of writing compound words or phrases such that the first letter of each concatenated word is capitalized. No other characters are used to separate the words, like hyphens or underscores.

For example:

  • BackColor
  • TimeUtc
  • FirstName
  • ComputerRamSize

This is different from CamelCase in which the first letter is lowercase and each subsequent concatenated word is capitalized.

For example:

  • backColor
  • timeUtc
  • firstName
  • computerRamSize


"camelCase" isn't PascalCase, but "PascalCase" is.