There are a couple of ways: The StreamReader class has a ReadLine method for example.
But the simplest way is to read the lot at once:
string[] lines = File.ReadAllLines(@"D:\Temp\MyFile.txt");
foreach (string line in lines)
{
Console.WriteLine(line);
string result = DoSomething(line);
Console.WriteLine(result);
}