title: Create zip file from all files in folder
body: <p>I'm trying to create a zip file from all files in a folder, but can't find any related snippet online. I'm trying to do something like this:</p>
  
  <pre><code>DirectoryInfo dir = new DirectoryInfo("somedir path");
  ZipFile zip = new ZipFile();
  zip.AddFiles(dir.getfiles());
  zip.SaveTo("some other path");
  </code></pre>
  
  <p>Any help is very much appreciated.</p>
  
  <p>edit: I only want to zip the files from a folder, not it's subfolders.</p>