摘要: 先看示例代码片段:1.读取文件:FileStream的用法System.IO.FileStream fs = new FileStream("Test.txt", FileMode.OpenOrCreate,FileAccess.Read); char[] cs = new char[fs.Length]; byte[] bs = new byte[fs.Length]; fs.Read(bs,0... 阅读全文