private static void PrintEmployeeDetailsLazySingleton() { LazySingleton employee = LazySingleton.GetInstance; employee.PrintDetails("This is employee message."); }
private static void PrintStudentDetailsLazySingleton() { LazySingleton student = LazySingleton.GetInstance; student.PrintDetails("This is student message."); }