File.AppendAllText(@"c:\path\file.txt", "text content" + Environment.NewLine);
using (FileStream fs = new FileStream(fileName,FileMode.Append, FileAccess.Write))
using (StreamWriter sw = new StreamWriter(fs))
{
sw.WriteLine(something);
}
File.AppendAllText(@"c:\path\file.txt", "text content" + Environment.NewLine);