how to writeline in c# at end of file code example
Example: c# append to file
using(StreamWriter writer = new StreamWriter("C:\\log.txt", true))
{
writer.WriteLine("Line");
}
using(StreamWriter writer = new StreamWriter("C:\\log.txt", true))
{
writer.WriteLine("Line");
}