Tag Archives: no content after writing to a text file

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