java - Why we need not to declare a serialVersionUID(or equivalent) in C#? -
in java recommended serializable classes explicitly declare serialversionuid since default serialversionuid computation highly sensitive class details , compiler implementation unreliable.
what's special serialization in c#?
in .net serialization less cranky in java.
by default supports new fields defaulting them, , ignore data doesn't expect.
you can still implement same kind of version control implementing iserializable interface in class , adding own custom versionid class , check there.
you can read more here
Comments
Post a Comment