Visual Studio snippets

Visual Studio snippets

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();

  • for

  • foreach

  • while

  • dowhile

  • switch

  • ///: automatisch methode commentaar blok

  • propfull: full property

  • prop: auto-property

  • ctor: constructor

  • try: geeft een try-catch blok

Last updated