private static void PrintEmployeeEG() { SingletonEager fromEmployee = SingletonEager.GetInstance; fromEmployee.Print("from employee"); }
//test eager singleton private static void PrintStudentEG() { SingletonEager fromStudent = SingletonEager.GetInstance; fromStudent.Print("from student"); }