StreamWriter write all file code example
Example: creating a streamwiter file C#
StreamWiter writer = new StreamWriter ("Rainfall.txt", true);
writer.WriteLine("")
StreamWiter writer = new StreamWriter ("Rainfall.txt", true);
writer.WriteLine("")