Esempio n. 1
0
        private static void PrintEmployeeDetailsLazy()
        {
            SingletonLazyEager fromEmployee = SingletonLazyEager.GetInstance;

            fromEmployee.PrintDetails("From Employee");
        }
Esempio n. 2
0
        private static void PrintStudentDetailsLazy()
        {
            SingletonLazyEager fromStudent = SingletonLazyEager.GetInstance;

            fromStudent.PrintDetails("From Student");
        }