title: .NET file compression libraries
body: <p>I'm looking for a package to use in my project to compress some XML files. I usually use <a href="http://en.wikipedia.org/wiki/WinRAR" rel="nofollow noreferrer">WinRAR</a> to compress files, and I think you can do this using the 7-Zip project and this can be included in a .NET project. </p>
  
  <p>This is a similar Stack&nbsp;Overflow question, <em><a href="https://stackoverflow.com/questions/153678/7-zip-7za-dll-net-wrapper">7-Zip (7za.dll) .NET wrapper</a></em></p>
  
  <p>and the <em>The Code Project</em> example is <em><a href="http://www.codeproject.com/KB/DLL/cs_interface_7zip.aspx" rel="nofollow noreferrer">C# (.NET) Interface for 7-Zip Archive DLLs</a></em>.</p>
  
  <p>I particularly want something <strong>simple to use</strong> with a <strong>good compression</strong> ratio. The example provided only extracts files, and I don't particularly have the time to implement and test the compression.</p>
  
  <p>(GZipStream isn't good enough, it compresses my 10&nbsp;MB file to 9&nbsp;MB, and WinRAR compresses it to 0.5&nbsp;MB.)</p>
  
  <p>So, I'm after a library or package (<strong>I don't care if it costs</strong>) which I can include in my project which allows me to easily compress and decompress files that has a good compression ratio and is easy to include and use.</p>