Background This post shows a very simple technique for processing a gzip compression on a background thread using c# with Visual Studio 2010. What is unique here is we are using no statics to do it. I’m not totally against using statics, but in general, it is best to avoid them. I’ve heard the notorious Ward Bell say statics are evil and have had many cases where they have bitten me. Since I heard Ward say this, I’ve been trying to avoid them where I can. The Simple Problem The problem is to simply compress a file to bytes and return to us the compressed, uncompressed and byte array of the result. We can pass parameters into a thread, however we can not return them (when I say thread, I mean … Continue Reading