StreamWriter sw = new StreamWriter(@"D:\记录\id.txt", true);//StreamWriter sw= new StreamWriter(@"D:\记录\id.txt", true,System.Text.Encoding.Default);
sw.Write("ddddddd");
sw.WriteLine("sssss");
sw.close();