XML Serialization in C#

前端 未结 7 1518
别那么骄傲
别那么骄傲 2021-02-08 17:37

Where Can I find good tutorial about XMl serialization to the object? Thanks.

相关标签:
7条回答
  • 2021-02-08 18:31

    You can easily find many tutorials about serialization data using .Net on the Web. However, let me remind some points:

    1. Types of serialization:

      a. XML Serialization : Please have a look at http://www.switchonthecode.com/tutorials/csharp-tutorial-xml-serialization

      b. Binary Serialization: Please refer to http://www.switchonthecode.com/tutorials/csharp-tutorial-serialize-objects-to-a-file

    2. Also please be aware of the security aspects when you work (reading and writing data) with files. There is a good tutorial here http://msdn.microsoft.com/en-us/library/system.security.permissions.fileiopermission.aspx

    0 讨论(0)
提交回复
热议问题