Tag Archives: Read and write a text file using C#

Read and write a text file using C#

The sample below is one of the most use functionality in programming. public static void ReadWriteString(string strInFile, string strOutFile) {    String strLine;      List<string> strList = new List<string>();    StreamReader streamReader = new StreamReader(strInFile);      StreamWriter sw … Continue reading

Posted in .Net | Tagged , | 2 Comments