static void Main(string[] args) { var employee1 = new TechnicalEmployee("Lily"); var employee2 = new TechnicalEmployee("Zhan Yang"); var employee3 = new BusinessEmployee("Wany"); Console.WriteLine(employee1.employeeStatus() + "..." + employee2.employeeStatus() + "..." + employee3.employeeStatus()); }
static void Main(string[] args) { var employee1 = new Employee("Libby", 2000); var employee2 = new TechnicalEmployee("Zaynah"); var employee3 = new BusinessEmployee("Winter"); Console.WriteLine(employee1.employeeStatus() + "..." + employee2.employeeStatus() + "..." + employee3.employeeStatus()); }
static void Main(string[] args) { var employee1 = new Employee("Jon", 2000); var employee2 = new TechnicalEmployee("Adarsha"); var employee3 = new BusinessEmployee("Max"); Console.WriteLine(employee1.employeeStatus() + "..." + employee2.employeeStatus() + "..." + employee3.employeeStatus()); }
static void Main(string[] args) { // Instantiates Employee Objects var employee1 = new Employee("Nate", 2000); var employee2 = new TechnicalEmployee("Mike"); var employee3 = new BusinessEmployee("Jeremy"); // Output to the console Console.WriteLine(employee1.employeeStatus() + "..." + employee2.employeeStatus() + "..." + employee3.employeeStatus()); }
static void Main(string[] args) { var employee1 = new TechnicalEmployee("Libby"); var employee2 = new TechnicalEmployee("Zaynah"); var employee3 = new BusinessEmployee("Vince"); Console.WriteLine(employee1.employeeStatus()); Console.WriteLine(employee2.employeeStatus()); Console.WriteLine(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"); Console.WriteLine(employee1.employeeStatus() + "..." + employee2.employeeStatus() + "..." + employee3.employeeStatus()); }
static void Main(string[] args) { // Instantiates TechnicalEmployee Object with name Libby called employee1 var employee1 = new TechnicalEmployee("Libby"); // 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() + "\n" + employee2.employeeStatus() + "\n" + employee3.employeeStatus() + "\n"); }
static void Main(string[] args) { // Instantiates Employee Object called employee1 var employee1 = new Employee("Greggo", 2000); // Instantiates TechnicalEmployee Object called employee2 var employee2 = new TechnicalEmployee("Craigory"); // Instantiates BusinessEmployee Object called employee3 var employee3 = new BusinessEmployee("Jerimiah"); // Output to the console window 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 TechnicalEmployee("Libby"); // Instantiates TechnicalEmployee Object with name Patrick called employee2 var employee2 = new TechnicalEmployee("Patrick"); // 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()); }
static void Main(string[] args) { // Instantiates Employee Object with name Anuradha and salary 2000 called employee1 var employee1 = new Employee("Anuradha", 2000); // Instantiates TechnicalEmployee Object with name Keerthana called employee2 var employee2 = new TechnicalEmployee("Keerthana"); // Instantiates BusinessEmployee Object with name Sangeetha called employee3 var employee3 = new BusinessEmployee("Sangeetha"); // Output to the console window Console.WriteLine(employee1.employeeStatus() + "..." + employee2.employeeStatus() + "..." + employee3.employeeStatus()); }
static void Main(string[] args) { // Instantiates Employee Object with name Andrea and salary 2000 called employee1 var employee1 = new Employee("Andrea", 2000); // Instantiates TechnicalEmployee Object with name Tim called employee2 var employee2 = new TechnicalEmployee("Tim"); // Instantiates BusinessEmployee Object with name Julie called employee3 var employee3 = new BusinessEmployee("Julie"); Console.WriteLine(employee1.employeeStatus() + "..." + employee2.employeeStatus() + "..." + employee3.employeeStatus()); }
static void Main(string[] args) { //Instantiates employee object with the name Libby and salary of 2000 called employee 1 // var employee1 = new Employee("Libby", 2000); //instantiates TechnicalEmployee with name libby and salary 2000 called employee1 var employee1 = new TechnicalEmployee("Libby"); // instantiates TechnicalEmployee object with the name Zaynah called Employee2 var employee2 = new TechnicalEmployee("Zaynah"); // instantiates BusinessEmployee object with the name "Winter" called Employee3 var employee3 = new BusinessEmployee("Winter"); //output to the console window Console.WriteLine(employee1.employeeStatus() + "..." + employee2.employeeStatus() + "..." + employee3.employeeStatus()); }
static void Main(string[] args) { // Instantiates TechnicalEmployee Object with name Libby called employee1 var Employee1 = new TechnicalEmployee("Libyy"); // Instantiates TechnicalEmployee Object with name Zaynah called Employeed2 var Employee2 = new TechnicalEmployee("Zaynah"); // Instantiates BuisnessEmployee Object with name Wither called Employee3 var Employee3 = new BuisnessEmployee("Winter"); // Output to the console window Console.WriteLine(Employee1.EmployeeStatus() + "..." + Employee2.EmployeeStatus() + "..." + Employee3.EmployeeStatus()); }
static void Main(string[] args) { var techy1 = new TechnicalEmployee("Tech Juros"); Console.WriteLine(techy1.employeeStatus()); //This is abstract class so we can not instanting it //var justEmp = new Employee("Emp Juros",55555); //Console.WriteLine(justEmp.employeeStatus()); var biznessEm = new BusinessEmployee("Biz Juros"); Console.WriteLine(biznessEm.employeeStatus()); }