摘要:
var catalog = new AggregateCatalog(); catalog.Catalogs.Add(new DirectoryCatalog(".")); var container = new CompositionContainer(catalog); var catalog 阅读全文
摘要:
string zipfile = "c:\\a.zip"; //方法1 FileStream fs = new FileStream(zipfile, FileMode.Open); //把文件读取到字节数组 byte[] zipdata = new byte[fs.Length]; fs.Read 阅读全文