C# Naming Convention > Constant Naming

PascalCase

  • Begin with an uppercase letter
  • If the name contains multiple words, capitalize first letter of every word e.g. BackTyreCount
  • Preferably a singular type name
  • Preferably a noun e.g. Customer, RentalCar
  • Avoid acronyms and abbreviations
private const int StudentCount = 42;

Contributors

ahass farbodsaraf