D
Dave Veeneman
I use binary serialization for file storage in an application I am creating.
Right now, I'm using simple serialization with a [Serializable] attribute.
Now, let's say I create a later version with a modified class structure. I'm
planning to implement ISerializable and a SerializationBinder on my classes
at that time to enable reading prior version files.
Is it okay to defer implementing these items until they are actually needed?
Is it a good idea? Or would I be better off implementing ISerializable in
all my classes from the outset? Thanks for your advice.
Dave Veeneman
Foresight Systems, Inc.
Right now, I'm using simple serialization with a [Serializable] attribute.
Now, let's say I create a later version with a modified class structure. I'm
planning to implement ISerializable and a SerializationBinder on my classes
at that time to enable reading prior version files.
Is it okay to defer implementing these items until they are actually needed?
Is it a good idea? Or would I be better off implementing ISerializable in
all my classes from the outset? Thanks for your advice.
Dave Veeneman
Foresight Systems, Inc.