Chapter 5. Working with XML

After completing this chapter, you’ll be able to:

  • Describe the basics of XML

  • Using XML and LINQ to create a query

  • Save XML data to disk

  • Read XML data from disk

  • Create an application that stores user settings using XML

FROM YOUR APPLICATION’S PERSPECTIVE, data is the information created or used by your application, including things such as settings that the user relies on to configure or customize the application, or an external source of information that your application uses. So far, all the applications in this book have relied on short-term data that “evaporates” when the application closes. Most applications also provide long-term data storage, saving users’ information so that the next time they open the application, ...

Get Start Here!™: Learn Microsoft® Visual C#® 2010 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.