Code snippets are pre-created pieces of code, and Visual Studio supports two kinds of them. Expanding code snippets and surrounding code snippets. You can get started with code snippets right away, since Visual Studio ships with lots of them.
So, how do they work? Well, the expanding code snippets are the easiest to use; you select a snippet by typing in a couple of letters in the editor, and press TAB once or twice to get the code. Continue reading “What’s cool about Code Snippets?”