Gui
, not GUI
T
, otherwise types (Classes/Interfaces/etc) should not be prefixed
Tkey
- GoodIBlockView
- Badif
, while
, etc
else switch
, else while
, etc are disallowed1 + 5
instead of 1+5
(1 + 5) * 2
instead of ( 1 + 5 ) * 2
int Value => v
;=>
notation in methods/properties that immediately return.
var
when possible, as well as new(/*...*/)
var thing = new Thing();
int thing = 15
over var thing = 15
x as Thing
over of (Thing) x
whenever possible
var thing = x as Thing
Thing? thing
this.
should be used only when necessary