會覆蓋已存在文件
File.WriteAllText(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "abv.json"), "創建連接字符串開始");
true不會覆蓋已存在文件
StreamWriter sw = new StreamWriter(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "abv.json"), true);
sw.Write("創建連接字符串結束");
sw.Close();
