Skip to content

Latest commit

 

History

History
executable file
·
13 lines (11 loc) · 309 Bytes

method-naming.md

File metadata and controls

executable file
·
13 lines (11 loc) · 309 Bytes

C# Naming Convention > Method Naming

PascalCase

  • Begin with an uppercase letter
  • Preferably a verb e.g. GetOrder(), SendMessage()
  • If the name contains multiple words, capitalize first letter of every word e.g. GetXmlParser()
 public int FindMinimum(int number1, int number2)()
{
    ...
}