O'Reilly logo

C# 7 and .NET Core Cookbook by Dirk Strauss

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 4.1.0.0 and System.IO.Compression version 4.0.0.0 available from the Reference Manager. The example I created ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required