using (StreamReader stream = new StreamReader(InputFilePath)) { XmlTextReader xmlIn = new XmlTextReader(stream); while (xmlIn.Read()) { //Do stuff } xmlIn.Close(); }
using (XmlTextReader xmlIn = new XmlTextReader(new StreamReader(inputFilePath))) { while (xmlIn.Read()) { //Do stuff } }
new XmlTextReader(new StreamReader(inputFilePath))
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)