Code |
problem is when I unserialize it only works if i only save the class once, is there anything that has to be done differently for more then 1 instance of the same class?
Code |
Thanks :)
Code |
Code |
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Adam4 reputationPosted Aug 31, 2010, 9:09 AM EDT
Off the top of my head I would say that you are overwriting the data in your stream each time you call Serialize() in your code sample. Based on your code you will end up with sunday only serialized and written to the file.
Adam
Marco3 reputationPosted Aug 31, 2010, 9:18 AM EDT
Adam4 reputationPosted Aug 31, 2010, 9:37 AM EDT
Pasan Ratnayake100 reputationPosted Sep 1, 2010, 9:32 PM EDT