I want to compress a file and a directory in C#. I found some solution in Internet but they are so complex and I couldn\'t run them in my project. Can anybody suggest me a clear
There is a built-in class in System.IO.Packaging called the ZipPackage:
System.IO.Packaging
ZipPackage
http://msdn.microsoft.com/en-us/library/system.io.packaging.zippackage(v=vs.100).aspx