摘要: 1 public class GZipHelper 2 { 3 public static void DecompressFile(string sourceFile, string destinationFile) 4 { 5 // make sure the source file is there 6 ... 阅读全文
posted @ 2012-12-11 17:39 ZhanHengZong 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 1 public static void NewMethod1() 2 { 3 HttpListener listener = new HttpListener(); 4 listener.Prefixes.Add(string.Format("http://*:{0}/", 8888)); //添 阅读全文
posted @ 2012-12-11 17:03 ZhanHengZong 阅读(2119) 评论(2) 推荐(2) 编辑
摘要: 1 /// <summary> 2 /// 简单的利用线程此启动线程 3 /// </summary> 4 public static void NewMethod1() 5 { 6 //只需要方法需要执行的方法就会启动线程池的的一个线程,不需要显示启动 7 ThreadPool.UnsafeQue 阅读全文
posted @ 2012-12-11 16:54 ZhanHengZong 阅读(177) 评论(0) 推荐(0) 编辑