Zip folder in C#
问题 What is an example (simple code) of how to zip a folder in C#? Update: I do not see namespace ICSharpCode . I downloaded ICSharpCode.SharpZipLib.dll but I do not know where to copy that DLL file. What do I need to do to see this namespace? And do you have link for that MSDN example for compress folder, because I read all MSDN but I couldn\'t find anything. OK, but I need next information. Where should I copy ICSharpCode.SharpZipLib.dll to see that namespace in Visual Studio? 回答1: This answer