I\'m reading a file in line-by-line and I want to be able to restart the read by calling a method Rewind().
Rewind()
How can I manipulate my System.IO.Stre
System.IO.Stre
I use this method:
System.IO.StreamReader reader = new System.IO.StreamReader("file.txt") //end of reading reader.DiscardBufferedData(); reader.BaseStream.Seek(0, System.IO.SeekOrigin.Begin);