VERY NEWBIE: How to add properties to existing variable?

Dear Experts,

I'm switching from Java/JBuilder to C#/Visual Studio 2005...

Given an existing variable in my code, is there a one-button way to generate properties for it?  I know there is a way to insert a NEW variable-properties set, but I find this inconvenient.

Or better, is there a way to see a list of all variables, and just check them off to generate properties?  (JBuilder does this...)  

Who is Participating?
Right click the variable, select Refactor->Encapsulate field from the context menu.

I don't know any way to do it with several variables at once
BrianMc1958Author Commented:
Great!  Would have sworn I tried that already.  I guess Visual Studio can tell I'm a newbie...

Thanks a lot!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.