Esempio n. 1
0
        private static void FromEmployeeLazy()
        {
            SingletonLazy fromEmployee = SingletonLazy.GetInstance;

            fromEmployee.PrintDetails("from Employee SingletonLazy");
        }
Esempio n. 2
0
        private static void FromStudentLazy()
        {
            SingletonLazy fromStudent = SingletonLazy.GetInstance;

            fromStudent.PrintDetails("From Student SingletonLazy");
        }