public long CountLinesLINQ(FileInfo file) => File.ReadLines(file.FullName).Count();
var lineCount = File.ReadLines(@"C:file.txt").Count();