1.引入 System.Io.Compression;
System.Io.Compression.FileSystem;
2.压缩 ZipFile.CreateFromDirectory(@"D:\data",@"D:\data.zip");
3.解压 ZipFile.ExtractToDirectory(@"D:\data.zip",@"D:\data");