Skip to content

Latest commit

 

History

History
executable file
·
14 lines (12 loc) · 361 Bytes

argument-naming.md

File metadata and controls

executable file
·
14 lines (12 loc) · 361 Bytes

C# Naming Convention > Argument Naming

camelCase

  • Begin with an lowercase letter
  • Preferably a noun e.g. phoneNumber
  • If multiple words: start it with the lowercase letter followed by an uppercase letter e.g. userPublicId
  • Avoid abbreviation and hungarian notation
 public int GetTotalSalary(string employeeId, string companyId)
{
    ...
}