private static void StudentDetails() { Singleton fromStud = Singleton.GetInstance; fromStud.PrintMessage("Called from Student class"); TestLogger testLogger = new TestLogger(); testLogger.LogInfo("Called from Professor Details method()"); }
private static void EmployeeDetails() { Singleton fromEmp = Singleton.GetInstance; fromEmp.PrintMessage("Called from Employee class"); TestLogger testLogger = new TestLogger(); testLogger.LogInfo("Called from Professor Details method()"); }
private static void ManagerDetails() { Singleton fromMgr = Singleton.GetInstance; fromMgr.PrintMessage("Called from Manager class"); TestLogger testLogger = new TestLogger(); testLogger.LogInfo("Called from Professor Details method()"); }