Exemple #1
0
        static void Main(string[] args)
        {
            var employee1 = new TechnicalEmployee("Libby");
            var employee2 = new TechnicalEmployee("Zaynah");
            var employee3 = new BusinessEmployee("Winter");

            Console.WriteLine(employee1.employeeStatus() + "..." + employee2.employeeStatus() + "..." + employee3.employeeStatus());
        }
Exemple #2
0
        static void Main(string[] args)
        {
            var employee1 = new TechnicalEmployee("Jon");
            var employee2 = new TechnicalEmployee("Adarsha");
            var employee3 = new BusinessEmployee("Max");

            Console.WriteLine(employee1.employeeStatus() + "..." +
                              employee2.employeeStatus() + "..." +
                              employee3.employeeStatus());
        }
Exemple #3
0
        public static void Main(string[] args)
        {
            // Instantiates Employee Object with name Libby and salary 2000 calld employee1
            var employee1 = new TechnicalEmployee("Libby", 2000);
            var employee2 = new TechnicalEmployee("Zaynah", 75000);
            var employee3 = new BusinessEmployee("Winter", 50000);

            // Output to the console window
            Console.WriteLine(employee1.employeeStatus() + "\n...\n" + employee2.employeeStatus() + "\n...\n" + employee3.employeeStatus());
        }
Exemple #4
0
        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() + "..." + employee2.employeeStatus() + "..." + employee3.employeeStatus());
        }
        static void Main(string[] args)
        {
            // Instantiates TechnicalEmployee Object with name Anuradha called employee1
            var employee1 = new TechnicalEmployee("Anuradha");

            // 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());
        }