Exemplo n.º 1
0
        public static void Main()
        {
            Console.WriteLine("--- How to hire Developer ---");
            HiringProcess newDev = new DotNetDepartment();
            newDev.HirePerson();

            Console.WriteLine("--- How to hire Customer Support ---");
            HiringProcess newSupport = new CustomerSupportDepartment();
            newSupport.HirePerson();
        }
Exemplo n.º 2
0
        public static void Main()
        {
            Console.WriteLine("--- How to hire Developer ---");
            HiringProcess newDev = new DotNetDepartment();

            newDev.HirePerson();

            Console.WriteLine("--- How to hire Customer Support ---");
            HiringProcess newSupport = new CustomerSupportDepartment();

            newSupport.HirePerson();
        }