.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

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -