Code snippets pozwalają wstawiać bloki kodu w szybszy sposób, wpisujemy snippet, a następnie wciskamy Tab dwukrotnie.
- cw – Console.WriteLine
- ctor – Constructor for the containing class
- prop – Auto-implemented property declaration
- propfull – Property declaration with get and set accessors
- propg – Read-only auto-implemented property with a private set accessor
- class – Class declaration
- struct – Struct declaration
- enum – Enum declaration
- do – do-while loop
- while – while loop
- for -for loop
- foreach – foreach loop
- if -if block
- else – else block
- switch – switch block
- try – try-catch block
- tryf – try-catch-finally block
- indexer – indexer declaration
- equals – Method declaration that overrides the Equals method defined in the Object class
- attribute – Declaration for a class that derives from Attribute
- exception – Declaration for a class that derives from Exception