How to make a Private Variable Public??

Apr 9 2010 12:47 AM

Hey All,
How can I take my private variable in the method and make it Public for another method to get a hold of it?
I have a class, Class1.cs. i have a method there which has a variable, now i want to use the value of this variable on a seperate form'Button_Click event!
 How to go about this??
Thanks,

Answers (4)