Bepaalde code zal je vaak opnieuw schrijven. Er zitten in VS tal van shortcuts om deze typische lijnen code sneller te schrijven. Schrijf een van volgende stukken code en druk dan 2x op de [tab]-toets:
cw : schrijft Console.WriteLine();
cw
Console.WriteLine()
for
foreach
while
dowhile
switch
///: automatisch methode commentaar blok
///
propfull: full property
propfull
prop: auto-property
prop
ctor: constructor
ctor
try: geeft een try-catch blok
try
Last updated 1 year ago
Was this helpful?