I'm using the following StreamReader to read from text file
string temp = fs.ReadToEnd ();
readlines[i] = temp;
I want to read a specific number of lines from the text file (let we say, from line number 1 until line number 300 only), then write the lines into one element of array. Could anyone help please? thanks in advance.