Review the code snippet before inserting it on your project.
StreamReader reader = new StreamReader("path to your file"); string line = string.Empty; while((line = reader.ReadLine()) != null) { Console.WriteLine (line); } reader.Close();
With from Barcelona