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

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -