C# Saving an arraylist to a file?

Posted by Zka on Stack Overflow See other posts from Stack Overflow or by Zka
Published on 2010-04-24T17:18:22Z Indexed on 2010/04/24 17:23 UTC
Read the original article Hit count: 165

Filed under:
|
|

I have a simple program where I would like to save an arraylist to a file, so that when the program is restarted, it loads from the file to the arraylist in memory.

Is this possible in C#? Or do I need to itterate over the arraylist countaining my custom classes and in someway print them out?

Any tips on a correct way to do this?

© Stack Overflow or respective owner

Related posts about c#

Related posts about arraylist