c# read line x of file code example Example: c# read lines number 3 from string string line = File.ReadLines(FileName).Skip(14).Take(1).First();