3

Platform : ASP.NET Webforms 3.5 with C#
I dont see a snippet for generating functions in C#.

I have one for class, struct and all.
Is that feature not there or am i missing something obvious or is there some other way?

For example, I would like to enter function, then press TAB key two times to generate the snippet for function.

1 Answer 1

1

There's none by default but you can simply navigate with Windows Explorer to

C:\Program Files\Microsoft Visual Studio 10.0\VC#\Snippets\1033

In there select a subfolder, copy paste a snippet, edit it with notepad to do what you want it to do.

Sign up to request clarification or add additional context in comments.

1 Comment

@naveen: No problem. No I'm still busy at forums.asp.net :-).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.