📜  asp.net c# 将字符串写入文本文件 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:07.960000             🧑  作者: Mango

代码示例1
using (StreamWriter writer = new StreamWriter("email.txt", true)) //// true to append data to the file
{
    writer.WriteLine("your_data"); 
}