سؤال

Can anyone explain this?

enter image description here

هل كانت مفيدة؟

المحلول

when you close the GZip stream, it's closes the underlying file stream, the exception is thrown because you already closed the file stream. you don't need to close both of them, just close the gzip stream

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top