📅  最后修改于: 2022-03-11 14:56:45.139000             🧑  作者: Mango
using (FileStream fs = new FileStream(fileName,FileMode.Append, FileAccess.Write))
using (StreamWriter sw = new StreamWriter(fs))
{
sw.WriteLine(something);
}