private static void FromEmployeeLazy() { SingletonLazy fromEmployee = SingletonLazy.GetInstance; fromEmployee.PrintDetails("from Employee SingletonLazy"); }
private static void FromStudentLazy() { SingletonLazy fromStudent = SingletonLazy.GetInstance; fromStudent.PrintDetails("From Student SingletonLazy"); }