///
/// 追加文件
///
/// 文件路径
/// 内容
public static void FileAdd(string Path, string strings)
{
StreamWriter sw = File.AppendText(Path);
sw.Write(strings);
sw.Flush();
sw.Close();
sw.Dispose();
}
C#往文件中追加文本内容信息
最新推荐文章于 2023-04-13 10:16:08 发布