using and ZipFile

Feb 4, 2010 at 12:52 PM
Edited Feb 4, 2010 at 12:52 PM

Hi Cheeso

Just wondering We are creating instances of ZipFile without the using block.

Is it necessary to close the ZipFile, if so we have not seen any close methods for it.

Please advise.

Thanks.

Coordinator
Feb 4, 2010 at 1:19 PM

There is a Dispose() method.

 you need to use either the using clause or the Dispose method.