コード例 #1
0
ファイル: Program.cs プロジェクト: InsaneDragon/16-05-20
        static void Main(string[] args)
        {
            GetAllNames(new List <object>()
            {
                new Person {
                    Id = 1, Name = "George Washington"
                }, new Cities {
                    ID = 1, Name = "Dushanbe"
                }
            });
            Cook cook1 = new Cook {
                Age = 21, Name = "Payrav"
            };
            ChefWithRat chef = new ChefWithRat {
                Age = 40, Name = "Khurshed"
            };

            cook1.CookPotato();
            chef.CookRatatouile();
            Programmer Shahzod  = new Programmer();
            Programmer Khurshed = new Programmer();
            Programmer Firdavs  = new Programmer();
            TeamLead   AkiAziz  = new TeamLead();

            AkiAziz.CreateTasks();
            AkiAziz.GiveTask(Shahzod, "Auction");
            Shahzod.WorkonTask();
        }