In Visual Studio I can type e.g.
for TAB TAB
and a code snippet pops in.
Are there built-in code snippets for private, public, etc. methods as well?
In Visual Studio I can type e.g.
for TAB TAB
and a code snippet pops in.
Are there built-in code snippets for private, public, etc. methods as well?
The code snippet for properties is:
I made my own snippet for a method. The XML code for it is the following, and you can add it to a file called "my_method.snippet" (or whatever_you_want.snippet) in C:\Users\YOUR_USERNAME\Documents\Visual Studio 2012\Code Snippets\Visual C#\My Code Snippets (your path might be different because I use VS2012):