Example #1
0
        static void Main(string[] args)
        {
            Emproyees Jim = new Emproyees("Jim", "Miller", 4000);

            Jim.Work();
            Jim.Pause();
            Boss John = new Boss("John", "Sena", 10000, "Ferrari");

            John.Lead();
            Trainees Jack = new Trainees("Jack", "Cook", 2000, 32, 8);

            Jack.Learn();
            Jack.Work();
            Console.ReadLine();
        }
Example #2
0
        static void Main(string[] args)
        {
            Employee Maya   = new Employee("MayyaA", "Maya", 2000);
            Boss     Tigran = new Boss("TigranG", "Tigran", 20000, "Audi");
            Trainees MayaA  = new Trainees("Mayahka", "Maya", 500, 20, 10);

            Maya.Work();
            Maya.Pause();

            Tigran.Laed();

            MayaA.Learn();
            MayaA.Work();

            Console.ReadKey();
        }