コード例 #1
0
        static void Main(string[] args)
        {
            CarSalesman test = new CarSalesman("steve", "rogers");

            Console.WriteLine(test.fullName);
            test.sell();

            RetailSalesPerson test2 = new RetailSalesPerson("iron", "man");

            Console.WriteLine(test2.fullName);
            test2.sell();
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: maziesmith/CS-OOP-Project
        static void Main(string[] args)
        {
            RetailSalesPerson ericTheSalesdude = new RetailSalesPerson("Erik", "Erikson");

            Console.WriteLine(ericTheSalesdude.FullName);
            ericTheSalesdude.sell();
            ericTheSalesdude.Develop();

            WebDeveloper mike = new WebDeveloper("angular6");

            mike.Code();
            mike.Develop();
        }