If you quit your program all the data in the bank is lost. But you can save a bank in a file on disk using the WriteBytes command.
To do what you want in memory you need to use a memory mapped file.
To do what you want in memory you need to use a memory mapped file.