© Bipin Joshi 2017
Bipin JoshiBeginning XML with C# 7https://doi.org/10.1007/978-1-4842-3105-0_8

8. XML Serialization

Bipin Joshi1 
(1)
301 Pitruchhaya, Thane, India
 

Your .NET applications consist of one or more classes. The objects of these classes are used to store state information. As long as your objects are available in the memory of your application, this state information is readily available. But what if you want to persist object state across application shutdowns? At first you may think of saving object state in a relational database. However, databases generally store information in relational format, whereas objects often have a hierarchical structure. Moreover, you would need to create many tables in the database on your own. Storing ...

Get Beginning XML with C# 7: XML Processing and Data Access for C# Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.