using(System.IO.StreamReader file = new System.IO.StreamReader("filepath")) { while((line = file.ReadLine()) != null) { // Read the line } file.Close(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)