using (StreamReader sr = new StreamReader("TestFile.txt")) { string line = sr.ReadLine(); int startIndex, endIndex = -1; while (line != null) { if (line.IndexOf("value") > -1) { startIndex = line.IndexOf("value") + 5; ............ ............
stream.DiscardBufferedData(); stream.BaseStream.Seek(0, SeekOrigin.Begin);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)