Serialization and deserialization in the .NET Framework 2 and 4 - C #

I have a winform application in C # .NET framework 2 that I want to serialize its objects into xml files and use these files in Silverlight Framework 4 by deserialize (C #).

What serialize class is supported by frameworks 2 and 4?

+3
source share
2 answers

What's wrong with good ol ' XmlSerializer?

You say that you still want to serialize objects to XML files, but it is XmlSerializersupported in version 2.0 of the .NET Framework, as well as 4.0 / Silverlight.

See the Other Versions drop-down list on the related documentation page for any specific information related to specific versions of the Framework.

+6

Source: https://habr.com/ru/post/1785391/


All Articles