Skip to content
Danghor edited this page Apr 13, 2017 · 4 revisions
  • use var for basic complex type
  • use the explicit name for own types
  • only use the this keyword when necessary
  • only use access modifiers when necesarry (e.g. do not use the private modifier when the method is already private anyway)
  • use keyword instead of class name (e.g. string instead of String, bool instead of Boolean)
  • single line if-statements are allowed, you may even use the ternary ?: operator
Clone this wiki locally