Exemplo n.º 1
0
        static void Main(string[] args)
        {
            DatingProfile bob = new DatingProfile("Bob", "Jones", 50, "Male");

            bob.WriteBio("Strong outdoors type");

            DatingProfile susie = new DatingProfile("Susie", "Sue", 45, "Female");

            susie.WriteBio("new to this site");

            bob.SendMessage("Hello Susie", "Want to get some coffee?", susie);
            susie.ReadMessage();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            DatingProfile Robert = new DatingProfile("Robert", "Williams", 50, "Male");

            Robert.WriteBio("Strong outdoors type");

            DatingProfile Barbara = new DatingProfile("Barbara", "Jones", 45, "Female");

            Barbara.WriteBio("new to this site");

            Robert.SendMessage("Hello Barbara", "Want to get some coffee?", Barbara);
            Barbara.ReadMessage();
        }