Saving a stack in memory

Jux

Member
Joined
Apr 18, 2007
Messages
9
Programming Experience
1-3
Hey,

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.

Any ideas?

Thanks!
 
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?


Thanks!
 
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!
 
Back
Top