Reading A StackOverflow post I hacked a bit with an Object called SaveRestore.
The trick is to know that when the object gets out of scope { }, is destroyed.
The trick is to know that when the object gets out of scope { }, is destroyed.
You need to maintain a reference to the object and its value.
No comments:
Post a Comment