I want to save a stack somewhere in memory before closing my program, so that when I reopen it I can open the stack that I would have saved and use it.
It is not possible to save something in memory, and have it accessible the next time you open the program. Any data in a memory space owned by a managed .NET program is released to the system when the app quits.
Hey..thanks for your reply. Unfortunately I have this program which consists of this stack containing file paths. I need to be able to access this stack and push more items onto it every time I open the program. Is there any workaround for this?
ooops sorry my fault... thats what i wanted to know how to do... I know I wrote in memory - my mistake - but actually want to know how to save on hard disk... sorry!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.