Jump to content

PascalCase

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by I dream of horses (talk | contribs) at 03:50, 3 September 2016 (top: clean up, added underlinked tag using AWB). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In programming, PascalCase denotes the practice of writing compound words or phrases such that the first letter of each concatenated word is capitalized.[1] 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.[1]

For example:

  • backColor
  • timeUtc
  • firstName
  • computerRamSize

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

References

  1. ^ a b "Capitalization Styles". msdn.microsoft.com. Retrieved 2016-04-27.