views:

507

answers:

3

In Visual C# 2008 Express 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?

+1  A: 

Properties are

prop{TAB}{TAB}

Soraz
+7  A: 

ctor: Default constructor

prop: Property

propg: Read only property

sim: static int main method

svm: static void main method

There's a good list here. And if you want to make your own the Snippet Designer is very good.

Cameron MacFarland
A: 

You can create customs snippets. Like this:

http://www.mediafire.com/file/gz3tzjnydk5/meth.snippet

EdgarT