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

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

android - MPAndroidChart - How to add Annotations or images to the chart -