XML C#

using System;
using System.IO;
using System.Xml;
public class Sample
{
    public static void Main()
    {
        XmlReader reader = XmlReader.Create("book.xml");
        while (reader.Read())
        {
            if (reader.IsStartElement())
            {
                if (reader.Prefix == String.Empty)
                    Console.WriteLine("<{0}>", reader.LocalName);
                else
                {
                    Console.Write("<{0}:{1}>", reader.Prefix, reader.LocalName);
                    Console.WriteLine(" The namespace URI is " + reader.NamespaceURI);
                }
            }
        }
        reader.Close();
    }
}