c# .net批量修改文件内容

项目中会碰到需要批量替换修改html、txt等文件的内容,以下贴出我的一个工具类 //读取需要替换的文本 String pathTemp = System.Environment.CurrentDirectory + "\\temp.html"; String html = File.ReadAllText(@pathTemp);
相关文章
相关标签/搜索