Generate code snippet for functions in VS2010

Platform: ASP.NET Webforms 3.5 with C #
I do not see a fragment for generating functions in C #.

I have one for class, structure and everything.
Is this function not there, or am I not seeing something obvious, or is there some other way?

For example, I would like to enter a function, and then press the TAB key twice to generate a fragment for the function.

+3
source share
1 answer

Not by default, but you can just navigate using Windows Explorer to

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

There, select a subfolder, copy a fragment of a fragment, edit it in a notebook to do what you want.

+1

Source: https://habr.com/ru/post/1779972/


All Articles