摘要: 1.添加命名空间 System.IO; System.Text;2.文件的读取 (1).使用FileStream类进行文件的读取,并将它转换成char数组,然后输出。 byte[] byData = new byte[100]; char[] charData = new char[1000]; public void Read() { try { FileStream file = new FileStream("E:\\test.txt", FileMod... 阅读全文
posted @ 2013-08-06 19:23 @大龙哥 阅读(552616) 评论(9) 推荐(13) 编辑