Getting ready

Perform the following steps:

  1. Create a console application and call it FilesExample:
  1. Right-click on the References node and select Add Reference... from the context menu:
  1. In the Reference Manager, search for the word compression. Add a reference to System.IO.Compression and System.IO.Compression.FileSystem to your project and click on the OK button.
At the time of writing, there was a System.IO.Compression version and System.IO.Compression version available from the Reference Manager. The example I created ...

Get C# 7 and .NET Core Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.