I have a test.xml file and want to convert into zip format and after again unzip file in c#. I have not got any good code that is simple and easy way to learn.
Thank you in Advance.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Shweta LodhaRank #31 · 39.8K reputationPosted Jun 7, 2014, 3:22 AM EDT
If you are working with .Net 3.5, then you can go for ZipPackage class
If you are working with .Net 4.5, then you can go for ZipArchive class.
Please check out this: http://msdn.microsoft.com/en-us/library/ms404280(v=vs.110).aspx
Lakshmanan Sethu SankaranarayanRank #124 · 17.7K reputationPosted Jun 7, 2014, 3:54 AM EDT
Please check the below article
http://www.codeguru.com/csharp/.net/zip-and-unzip-files-programmatically-in-c.htm
kalu singh raoRank #884 · 2.4K reputationPosted Jun 7, 2014, 4:02 AM EDT
kalu singh raoRank #884 · 2.4K reputationPosted Jun 7, 2014, 4:32 AM EDT