static void Main(string[] args) { Console.WriteLine("Let's test this bad boy!"); var employee1 = new TechnicalEmployee("Libby"); var employee2 = new TechnicalEmployee("Zaynah"); var employee3 = new BusinessEmployee("Winter"); Console.WriteLine(employee1.employeeStatus() + " .... " + employee2.employeeStatus() + " .... " + employee3.employeeStatus()); }
static void Main(string[] args) { // Instantiates Employee Object with name Libby and salary 2000 called employee1 var employee1 = new Employee("Libby", 2000); // Instantiates TechnicalEmployee Object with name Zaynah called employee2 var employee2 = new TechnicalEmployee("Zaynah"); // Instantiates BusinessEmployee Object with name Winter called employee3 var employee3 = new BusinessEmployee("Winter"); // Output to the console window Console.WriteLine(employee1.employeeStatus() + "..." + employee2.employeeStatus() + "..." + employee3.employeeStatus()); }