.net - Why is the CLR Object type serializable? -
i surprised find object class decorated serializable attribute. although object instances can useful (for thread synchronization, instance), have no state can meaningfully stored or re-hydrated. problems have encountered if clr object class had not been marked serializeable?
if not serializable, no other type in .net serializable given types derive system.object
.
Comments
Post a Comment