title: C# Deleting a .ZIP file after unzipping
body: <p>I am using the Ionic.Zip.dll from the DotNetZip library and I'm trying to delete the ZIP file after it finishes unzipping, but I can't manage to do it.</p>
  
  <p>Here is the code I have currently:</p>
  
  <pre><code>    using (ZipFile zip = ZipFile.Read(nextVersion + ".zip"))
  {
      zip.ExtractAll(Directory.GetCurrentDirectory(), ExtractExistingFileAction.OverwriteSilently);
  
      try
      {
          File.Delete(nextVersion + ".zip");
      }
      catch (Exception)
      {
          MessageBox.Show("Could not delete ZIP!");
          Environment.Exit(1);
      }
  }
  </code></pre>
  
  <p>What am I doing wrong here?</p>