add content c# 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");
}