//得到该对象的方法 public static Singleton_Classic GetInstance() { //延迟实例化 if (uniqueInstance == null) { uniqueInstance = new Singleton_Classic(); } return uniqueInstance; }
//得到该对象的方法 public static Singleton_Classic GetInstance() { //延迟实例化 if (uniqueInstance == null) { uniqueInstance = new Singleton_Classic(); } return(uniqueInstance); }