Pascal Case Variable Naming Convention

Question: Which of the following is an example of the Pascal case naming convention?

  •   Pascal-Case
  •   pascalCase
  •   PascalCase
  •   Pascal_case


The correct answer is PascalCase. Also known as ‘upper camel case,’ Pascal case does not use spaces or underscores, and capitalizes the first letter of each new word, including the first word in the variable name.

Pascal case is mentioned on all of the UiPath variable naming documentation, along with snake case, camel case and kebab-case, so at the very least be familiar with these terms.

There’s more details about variable naming strategies on the UiPath site.

Please subscribe to Cameron's YouTube channel