摘要: 线程大家都听说过,也或多或少的看到过或使用过。但对于线程中的参数传递可能会比较陌生,今天我在这就跟大家分享下线程的传递方法。 在分享线程的参数传递方法之前我们先来看看不带参的线程: using System.Threading;(在使用线程前别忘记了加上命名空间) public class thr... 阅读全文
posted @ 2015-12-11 11:38 剑弑 阅读(1449) 评论(0) 推荐(0) 编辑
摘要: public class SingLeton { private static SinglLeton singleton=null; private SingLeton() { } public static SingLeton getsingleton() { if(singleton==null 阅读全文
posted @ 2015-12-11 00:21 剑弑 阅读(3624) 评论(0) 推荐(2) 编辑