[c#] How to write data to a text file without overwriting the current data

Pass true as the append parameter of the constructor:

TextWriter tsw = new StreamWriter(@"C:\Hello.txt", true);