var path = "\\dosya.txt"; var enumLines = File.ReadLines(path, Encoding.UTF8); foreach (var line in enumLines) { Console.WriteLine(line); }