Ejemplo n.º 1
0
        private static void SingletonLazyAccess2()
        {
            SingletonLazyLoading instance2 = SingletonLazyLoading.GetInstance;

            instance2.PrintMessage("Instance 2");
        }
Ejemplo n.º 2
0
        private static void SingletonLazyAccess1()
        {
            SingletonLazyLoading instance1 = SingletonLazyLoading.GetInstance;

            instance1.PrintMessage("Instance 1");
        }