a application which uses streamwriter windows forms 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("")