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

項目中會碰到需要批量替換修改html、txt等文件的內容,以下貼出我的一個工具類 //讀取需要替換的文本 String pathTemp = System.Environment.CurrentDirectory + "\\temp.html"; String html = File.ReadAllText(@pathTemp);
相關文章
相關標籤/搜索