private static void PrintEmployeeDetailsLazy() { SingletonLazyEager fromEmployee = SingletonLazyEager.GetInstance; fromEmployee.PrintDetails("From Employee"); }
private static void PrintStudentDetailsLazy() { SingletonLazyEager fromStudent = SingletonLazyEager.GetInstance; fromStudent.PrintDetails("From Student"); }