在指定文本里记录内容
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();
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();