Try using StreamReader.
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace ReadLines
{
class Program
{
static void Main(string[] args)
{
using (StreamWriter _SW = new StreamWriter("File.txt"))
{
for (int i = 0; i < 200; i++)
_SW.WriteLine("Pre-200 #: " + i);
for (int i = 0; i < 50; i++)
_SW.WriteLine("Post-200 #: " + i);
}
using (StreamReader _SR = new StreamReader("File.txt", Encoding.UTF8))
{
for(int i = 0; i < 200; i++)
Console.WriteLine(_SR.ReadLine());
}
Console.WriteLine("\n\n\nPress any key to exit");
Console.ReadLine();
}
}
}