Udostępnij za pośrednictwem


Method Naming Guidelines

The following rules outline the naming guidelines for methods:

  • Use verbs or verb phrases to name methods.
  • Use Pascal case.

The following are examples of correctly named methods.

RemoveAll()
GetCharArray()
Invoke()

See Also

Design Guidelines for Class Library Developers | Method Usage Guidelines