Beispiel #1
0
    static void Main(string[] args)
    {
        DatingProfile Ted = new DatingProfile("Ted", "Dancing", 42, "Male");

        Ted.WriteBio("Loves the OutDoors");

        DatingProfile Babes = new DatingProfile("Babes", "Bunny", 39, "Female");

        Babes.WriteBio("Loves To Hike and Bike Ride");

        Ted.SendMessage("Hello Babes", "Wanna Take a Walk With Me", Babes);
        Babes.ReadMessage();
    }
Beispiel #2
0
    static void Main(string[] args)
    {
        DatingProfile brian = new DatingProfile("Brian", "White", 38, "Male");

        brian.WriteBio("Outspoken and social type");

        DatingProfile kate = new DatingProfile("Kate", "Volvo", 30, "Female");

        kate.WriteBio("I am reserve but social");

        brian.SendMessage("Hello Kate", "Can we have a nice time together tomorrow?", kate);
        kate.ReadMessage();
        kate.SendMessage("Yeah sure", "What time would that be?");
        brian.ReadMessage();
        brian.SendMessage("Ok cool", "by 05:00pm", "See you then");
    }