Hour 15. Working with XML

What You’ll Learn in This Hour

Understanding the XML DOM

Using LINQ to XML

Selecting and querying XML

Modifying XML

Although working with text files is common and made easier through the classes provided by the System.IO namespace, these classes do not enable you to easily work with and manipulate structured text in the form of XML. XML, which stands for Extensible Markup Language, is a simple and flexible text format that enables the exchange of data in a platform-independent manner.

The use of XML as a data exchange format is prevalent not just in the .NET Framework, but in other Microsoft products as well. The .NET Framework uses it for web services through Simple Object Access Protocol (SOAP) and Windows ...

Get Sams Teach Yourself C# 5.0 in 24 Hours 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.