TODO:
Have you ever wanted to zip an entire directory using C#?
SOLUTION:
using System.IO.Compression;
//class and other code here...
//zip the entire directory
//parameter 1 is the directory to zip
//parameter 2 is the resulting zip file
ZipFile.CreateFromDirectory(directoryToZip, zipFilePath);
NOTES:
There are no notes on this topic