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

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

            fromStudent.printdetails("From Student");
        }