CSharp examples for System.Xml:XML File
Get Xml Reader from FileInfo
// Copyright (c) 2006-2017 All Rights reserved * using System.Xml.XPath; using System.Xml; using System.IO;// w w w.j av a 2 s . c om using System.Globalization; using System; public class Main{ #region GetXmlReader public static XmlReader GetXmlReader(FileInfo fileInfo) { var textReader = new XmlTextReader(fileInfo.FullName); return textReader; } }