c# core StreamWriter give access to 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("")