You can use the XDocument class to work with XML files in C#. Example: var xdoc = XDocument.Load(PATH_TO_FILE);