using System; using System.Xml; class MainClass { static void Main(string[] args) { string filename = @"C:\books.xml"; XmlDocument xmlDoc = new XmlDocument(); xmlDoc.LoadXml(filename); xmlDoc.Save(Console.Out); } }