C# 快速写入本地文件

using (StreamWriter sw = new StreamWriter(“Path”, true))
{
  sw.WriteLine(msg);
}

原文地址:https://www.cnblogs.com/zqt14520/p/14497653.html