Share via


Naming Conventions

Choose names for exposed objects, properties, and methods that can be easily understood by users of the application. The guidelines in this section apply to all of the following exposed items:

  • Objects implemented as classes in an application.

  • Properties and methods implemented as members of a class.

  • Named arguments implemented as named parameters in a member function.

  • Constants and enumerations implemented as settings for properties and methods.

In this section

Topic Description
Use Entire Words or Syllables
Use entire words or syllables so that your names are easier to remember.
Use Mixed Case
All identifiers should use mixed case, rather than underscores, to separate words.
Use the Same Word Used in the Interface
Use consistent terminology.
Use the Correct Plural for the Class Name
Collection classes should use the correct plural for the class name.