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