Lemme explain exactly what am doing. Its pretty simple.
String^ file_name = "c:\\test.txt";
StreamWriter^ sw = gcnew StreamWriter(file_name);
sw->WriteLine("Hello");
When I do this, everytime I run this program, the existing file is opened by erasing its contents. How can I avoid this, so that I can append this new text to EOF (End Of File) everytime?