hi,
i am using a StreamReader to read the file but i need to go back when certain match not found.this is demo code in which i am trying to go back certain positions.

FileStream fs1 = new FileStream("D:\ \Source.txt", FileMode.Open, FileAccess.Read );// fs1 contains abcd only
StreamReader sr1 = new StreamReader(fs 1);
int s1 = sr1.Read();
/*1.*/ s1 = sr1.Read(); // reading...