using System.IO.Compression; ZipInputStream zipStream = new ZipInputStream(File.OpenRead("archive.zip")); // Use the zipStream object to extract data from the archive zipStream.Dispose(); // Once finished, call Dispose to release resourcesIn this example, we create a new ZipInputStream object to read from a ZIP archive named "archive.zip". We then use the zipStream object to extract data from the archive. Finally, we call Dispose() to release the resources used by the zipStream object. The ZipInputStream class is part of the System.IO.Compression namespace in the .NET Framework.