i am having problems appending txt to a file. it overwrites the file instead of appending
private StreamWriter outputfile = new StreamWriter("c:\\testfile.txt");
public void SetFile()
{
this.outputfile.WriteLine("Test",FileMode.Append, FileAccess.Write);
this.outputfile.Close();
}
-----------------------------------------------------------------
main class
FileRead Testing1 = new FileRead();
Testing1.SetFile();