How to generate getters and setters in Visual Studio? *

Question

By "generate", I mean auto-generation of the code necessary for a particuliar selected (set of) variable(s).

But any more explicit explication or comment on good practice is welcome.

Answer

Rather than using ctrl+k,x you can also just type prop and then hit tab twice

< br > via < a class="StackLink" href=" http://stackoverflow.com/questions/3017/" >How to generate getters and setters in Visual Studio?< /a>
Share on Google Plus

About Cinema Guy

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment