c# file append text code example
Example 1: c# append to file
File.AppendAllText(@"c:\path\file.txt", "text content" + Environment.NewLine);
Example 2: c# append text to file
File.AppendAllText(@"c:\path\file.txt", "text content" + Environment.NewLine);