Like in Eclipse for java, where it can auto-generate getters and setters for class variables, can Visual Studio 2010 do this as well? I can't find it anywhere....
I usually type prop
in the code editor and then press Tab twice. Another possibility is to right click on the private field and Refactor -> Encapsulate Field ...
or Ctrl+R,E but the first method is more convenient for me.
just write propfull + TAB to auto-generate getter & setters the way Eclipse would.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With