摘要:
开发中有时会遇到要对文件进行共享状态的读写操作,代码如下:View Code using System.IO;using System.Text;namespace LucienBao.Commons{ public static class FileHelper { public static string ShareRead(string file, Encoding encoding) { string content = string.Empty; FileStream fs = new FileStr... 阅读全文