开发者

Serialize and deserialize in both .NET framework 2 and 4 - C#

I have a winform application in C# .NET framework 2 which I want to serialize i开发者_运维问答ts objects into xml files and to use these files in silverlight framework 4 by deserialize (c#).

Which serialize class is supported by framework 2 and 4?


What's wrong with good ol' XmlSerializer?

You say you want to serialize objects into XML files anyway, and XmlSerializer is supported on version 2.0 of the .NET Framework as well as 4.0/Silverlight.

Check the "Other Versions" dropdown on the linked documentation page for any specific details that apply to particular versions of the Framework.


XmlSerializer

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜