Private Constructor and Singleton design pattern
摘要:public class Singleton{static readonly Singleton instance = new Singleton();static Singleton() //Private Constructor to make sure it cannot be instantiated out of the class bounds.{}public static Sing...
阅读全文
posted @ 2007-11-07 10:47
浙公网安备 33010602011771号