摘要: 1 //1、线程不安全 2 //public sealed class Singleton 3 //{ 4 // private static Singleton instance; //定义私有的静态全局变量保存改类的唯一实例 5 // private Singleton() { } 6 // public stat... 阅读全文
posted @ 2017-08-28 21:20 Ray's 阅读(356) 评论(0) 推荐(0) 编辑