I am writing 1 line to a file and close the file. Then after a few seconds the file will be open and written to again but then when using the code the string is overwritten.
What I want to do is to continue write on next line.

I am not sure if the .NewLine() is used for this, The line with NewLine() doesn´t compile when I write it like this.

writingThis.WriteLine(TextBox2.Text.Trim());
//writingThis.NewLine(); ??
writingThis.Close();

I just found out I forgot to append like this:

FileStream gd2 = new System.IO.FileStream("Path", System.IO.FileMode.Append, System.IO.FileAccess.Write, System.IO.FileShare.ReadWrite);