StreamWriter file =
new StreamWriter("fileName.Text", true);
file.WriteLine("example");
file.Close();
StreamWriter file =
new StreamWriter("payments.Text", true);
file.WriteLine(yazılacak string);
file.Close();