using(FileStream fs = new FileStream (文件地址,FileMode.Create)){byte[] bytefile = Enconding.UTF8. Getbytes(文件地址);fs.Write(bytefile,0,bytefile.Leangth);}这样就可以了,不过会覆盖之前的记录