摘要: 让一个类只有一个对象,全局唯一非多线程模式,实现方法:方法1:1 public class SingletonTest2 {3 public static readonly SingletonTest Instance = new SingletonTest();4 ... 阅读全文
posted @ 2015-07-02 19:49 第十一次进球 阅读(171) 评论(0) 推荐(0)