示例#1
0
                static void Main(string[] args)
                {
                    HouseHunter HHContestant = new HouseHunter("Full Stack Web Developer", 100000, 6, 3, 2, "Omar", "Smith", "2/4/1975", "111 Bravo Way", "Los Angeles", "California", 90001, "888-233-1234", "*****@*****.**");

                    ParadiseIsland PIContestant = new ParadiseIsland("Female", "Carl", 2, "Patti", "Johnson", "5/4/1994", "211 Love Rd", "Los Angeles", "California", 90001, "988-444-1234", "*****@*****.**");

                    AboveDeck ADContestant = new AboveDeck(20, "American", "Captian", "Lee", "7/12/1964", "311 Bravo Rd", "Los Angeles", "California", 90001, "711-333-1234", "*****@*****.**");

                    HHContestant.Submit();
                    HHContestant.Accept();
                    PIContestant.Submit();
                    PIContestant.Accept();
                    ADContestant.Submit();
                    ADContestant.Accept();
                }
示例#2
0
        static void Main(string[] args)
        {
            HouseHunter hhContestant = new HouseHunter("HeadHunter", 77777, 6, 5, 4, "Clancy", "Porter", "02/13/2000",
                                                       "888 Elm Street", "Richmond", "Virginia", 58982, "777-876-7777", "*****@*****.**");

            ParadiseIsland piContestant = new ParadiseIsland("Female", "Carl", 2, "Patti", "Johnson", "5/4/1994", "211 Love Rd", "Los Angeles",
                                                             "California", 90001, "988-444-1234", "*****@*****.**");

            AboveDeck adContestant = new AboveDeck(20, "American", "Captian", "Lee", "7/12/1964", "311 Bravo Rd", "Los Angeles",
                                                   "California", 90001, "711-333-1234", "*****@*****.**");

            hhContestant.Submit();
            hhContestant.Accept();

            piContestant.Submit();
            piContestant.Accept();

            adContestant.Submit();
            adContestant.Accept();
        }