XML C#

using System;
using System.Xml;
public class Sample
{
    public static void Main()
    {
        using (XmlReader reader = XmlReader.Create("books.xml"))
        {
            reader.ReadToFollowing("book");
            do
            {
                Console.WriteLine("ISBN: {0}", reader.GetAttribute("ISBN"));
            } while (reader.ReadToNextSibling("book"));
        }
    }
}