Lets say I have a text file.
Always when I try to write to it with the following code, It erases what was already in it:
// create a writer and open the file
TextWriter tw = new StreamWriter(MyTextfile.txt);
// write a line of text to the file
// close the stream
How can I write to a text file so I only add text to it (I don't delete the text that was already in the text file)?