using System; using System.Xml; class MainClass { static void Main(string[] args) { XmlTextReader reader = new XmlTextReader(@"C:\books.xml"); Console.WriteLine(reader.Name); Console.WriteLine(reader.BaseURI); Console.WriteLine(reader.LocalName); } }