Saving Integer Array
-
Hi, I'm currently working on a program where I have very big Integer array - with 81000000 elements. I want to keep this array and the information within for future work, is there a way to save that big array in file, and then to restore the array from that file? Thank you in advance!
-
Hi, I'm currently working on a program where I have very big Integer array - with 81000000 elements. I want to keep this array and the information within for future work, is there a way to save that big array in file, and then to restore the array from that file? Thank you in advance!
-
You can do that using serialization. There are classes available in .Net to serialize an object and save it to files. You can use them.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
-
Thank You for the fast answer! I solve the problem and now I can save and open the array in binary file format! :)