摘要:
1 using System; 2 using System.Collections.Generic; 3 using System.Data; 4 using System.IO; 5 using System.Linq; 6 using System.Text; 7 using System.Text.RegularExpressions; 8 using System.We... 阅读全文
posted @ 2018-07-27 13:33
jiangrufieng
阅读(250)
评论(0)
推荐(0)
摘要:
StreamReader sr = new StreamReader(path); //path是要读取的文件的完整路径 String str_read = sr.ReadToEnd(); //从开始到末尾读取文件的所有内容,str_read 存放的就是读取到的文本 sr.Close(); //读完 阅读全文
posted @ 2018-07-27 10:31
jiangrufieng
阅读(555)
评论(6)
推荐(0)