If you need to access the lines twice you can always buffer them into a List
using System.Linq;
List lines = File.ReadLines("file path").ToList();
foreach (var line in lines)
{
Console.WriteLine(line);
}
foreach (var line in lines)
{
Console.WriteLine(line);
}