Exemplo n.º 1
0
        private static void PrintL2()
        {
            SingletonLazyLoading L2 = SingletonLazyLoading.GetInstance;

            L2.PrintDetails("From Singleton Thread Safety L2");
        }
Exemplo n.º 2
0
        //SINGLETON LAZY LOADING
        private static void PrintL1()
        {
            SingletonLazyLoading L1 = SingletonLazyLoading.GetInstance;

            L1.PrintDetails("From Singleton Lazy Loading L1");
        }