The Problem Solver

Tell me and I will forget
Show me and I will remember
Involve me and I will understand
- Confucius -

Google Ads

This Blog

Syndication

Search

Tags

News





  • View Maurice De Beijer's profile on LinkedIn

Community

Email Notifications

Explore

Archives

Serializing and deserializing an ArrayList with a custom Serializable type loses its data
I recently ran into a nasty bug with object deserializing in the .Net framework.
 
Basically using the SerializationInfo object to save an ArrayList with a custom type also implementing ISerializable loses the data. The data is actually serialized and even deserialized, just not in time to put it back in the ArrayList so effectively getting lost.
 
Wasted some time tracking this down :-(
 
 
Maurice de Beijer
Published Mon, May 8 2006 7:11 by Maurice
Filed under: