XML C#

using System;
using System.IO;
using System.Xml;
using System.Xml.Linq;
using System.Collections;
using System.Collections.Generic;
public class MainClass
{
    public static void Main()
    {
        XmlReaderSettings settings = new XmlReaderSettings();
        settings.DtdProcessing = DtdProcessing.Parse;
        settings.ValidationType = ValidationType.DTD;
        XmlReader reader = XmlReader.Create("itemDTD.xml", settings);
        while (reader.Read()) { }
    }
}