Beispiel #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();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            HouseHunter omarSmith = new HouseHunter("Omar", "Smith", "2/4/1975", "111 Bravo Way", "Los Angles",
                                                    "California", 90001, "888-233-1234", "*****@*****.**", "Full stack Web Developer",
                                                    100000, "6 months", 3, 3);

            omarSmith.Submit();
            omarSmith.Accept();

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

            pattiJohnson.Submit();
            pattiJohnson.Accept();

            AboveDeck captainLee = new AboveDeck("Captain", "Lee", "7/12/1964", "311 Bravo Way", "Los Angles",
                                                 "Californa", 90001, "711-333-1234", "*****@*****.**", 20, "American");

            captainLee.Submit();
            captainLee.Accept();
        }