There is many options to compress files, and .net framework provide you with 2 easy ways to do it. Basically there are 2 class under System.IO.Compression namespace. More specifically those classes are:
Both of these classes has certain usage. I will start first by explaining how to use each one then jump into a comparison between them on later posts.
Yasser Jaber wrote an article about how to compress files using GZipStream class at integrant’s blog. Read this article here