[MS Visual Studio.Net]

  • Thread starter Thread starter Stefan Richter
  • Start date Start date
S

Stefan Richter

I wonder, is there a possibility to let Visual Studio create get and set
functions for all private variables at once?

Thanks,

Stefan
 
Yes,

You can write a macro which can take all private variables and create properties for you.

You can assign a keyboard shortcut to that macro

01. Open up VS.NET
02. Go to Tools >> Options
03. Select Keyboard under Environment section
04. Check your macro shortcut and assign the key shortcut
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top