hi...
In my windows application, i have used many global variables declared in a class with name 'globalclass'.i need to reset these variables without exiting my application.can i possible it with out resetting individual variables.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Sep 24, 2012, 9:04 AM
If you don't want to have to reset them individually each time, you could define a static method in your global class which sets them all back to their original values and call that.