Code Snippet: How to add to Visual Studio

By: Nicklas Møller Jepsen

Go to Tools > Code Snippets Manager

Select C# (presuming you want to add a snippet for C# ;) )

Click the Add button and browse to the location where your code snippet is stored. The file must end with .snippet

Now you can use the snippet by typing the shortcut in your C# class witch in this case is sglt:

After the snippet are inserted:

Pretty simple, right? :)