Get Xml Reader - CSharp System.Xml

CSharp examples for System.Xml:XML Reader

Description

Get Xml Reader

Demo Code


using System.Xml.XPath;
using System.Xml;
using System.Text;
using System.IO;//  w ww. j  av a  2s . co m
using System;

public class Main{
        #region GetXmlReader

        public static XmlReader GetXmlReader(FileInfo fileInfo)
        {
            var textReader = new XmlTextReader(fileInfo.FullName);
            return textReader;
        }
}

Related Tutorials