Summary
This chapter showed how to use C# and the XML classes in the System.Xml namespace to read and write XML data. It showed how to create a file and write formatted XML data to it.
There was also an explanation of how to read from that same file. This was a greatly simplified process because the XML class libraries streamlined much of the tag parsing and data reading.
You also examined how to combine reading and writing of XML data into a working program.
Get C# Unleashed 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.