Camel case and Pascal case mistake

Solution 1:

To remember camel case you have to think about the shape of the capital letters. They are like the humps of a camel as you can see in this image.

Pascal Casing - capitalizes each word:

ThisShouldBePascalCase

Camel Casing - is similiar to pascal case but the first word is not capitalized:

thisShouldBeCamelCase

You can read some history here

UPDATE: Change the camel case image after reading the comments.

Solution 2:

Pascal is a persons name... a persons name always starts capitalized, whereas 'camel' is just a noun and thus, unless the start of a sentence, is always lowercased.

Solution 3:

camel case - first letter of first word lower case, and first letter of every word, after that should be Upper Case.

Examples:

  • camelCase
  • camelCaseLetter

pascal case - first letter of every word should be upper case.

Examples:

  • PascalCase
  • PascalCaseLetter

Solution 4:

Pascal Case: in Pascal case every word of each letter should be capital like MossawarHussain

Camel case: As the name show it follow the camel structure of word like mossawarHussain

Difference:

Pascal is a subset of Camel case. The first letter of Pascal is capital and first letter of the camel is small that is the major difference between these two cases.