Exemple #1
0
        private static void PrintEmpDetails()
        {
            //singleton fromEmp = singleton.GetInstance;
            LazyVsEagarINit fromEmp = LazyVsEagarINit.GetInstance;

            fromEmp.printdetails("From Emp");
        }
Exemple #2
0
        private static void PrintStudentDetails()
        {
            //singleton fromStudent = singleton.GetInstance;
            LazyVsEagarINit fromStudent = LazyVsEagarINit.GetInstance;

            fromStudent.printdetails("From Student");
        }