XML is a powerful text-based and human-readable format for storing structured data. The .NET Framework provides rich support for XML, including classes in System.Xml and System.Xml.Linq. Some developers feel XML represents a glorified CSV file, but others find it a powerful and expressive, yet standardized technology. This section introduces articles about XML methods.
First, this section contains a pair of useful articles about how to write XML and also read in XML. You could use the general methods described in these articles in parallel to implement persistence in a C# application.
We also introduce some useful information about the XElement type in the C# language. The XElement greatly simplifies some usages of XML; you can also query XML using LINQ syntax. The linked article here contains more details.
There is also a tutorial on how to use the XmlWriter type on the OutputStream in an ASP.NET project: this enables you to write XML imperatively to a webpage. The article here describes this approach in more depth.