<p>By "generate", I mean auto-generation of the code necessary for a particular selected (set of) variable(s).</p>

<p>But any more explicit explication or comment on good practice is welcome.</p>

I don't have Visual Studio installed on my machine anymore (and I'm using Linux), but I do remember that there was an wizard hidden somewhere inside one of the menus that gave access to a class builder.
With this wizard, you could define all your classes' details, including methods and attributes. If I remember well, there was an option through which you could ask Visual Studio to create the setters and getters automatically for you.
I know it's quite vague, but check it out and you might find it.