Reading lines on a text file help
how would you read the next line in a text fine? like say my text file had 5 lines of text, how would u read the first line and then move on to the next and read that?

string[] lines = File.ReadAllLines(...)ReadLine()var reader = File.OpenText("text.txt");
var x = reader.ReadLine();
Console.WriteLine(x);
var y = reader.ReadLine();
Console.WriteLine(y);