XML C# Tutorial

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Xml;
    public class MainClass
    {
        public static void Main()
        {
            XmlNode node = null;
            XmlDocument doc = new XmlDocument();
            doc.Load(Application.StartupPath + "/employees.xml");
            node = doc.SelectSingleNode("//employee[./firstname/text()='asdf']");
            Console.WriteLine(node.Attributes["employeeid"].Value);
            if (node == null)
            {
                MessageBox.Show("Please select Employee ID");
                return;
            }
            
            Console.WriteLine(node.ChildNodes[0].InnerText);
            Console.WriteLine(node.ChildNodes[1].InnerText);
            Console.WriteLine(node.ChildNodes[2].InnerText);
            Console.WriteLine(node.ChildNodes[3].InnerText);
        }
    }