Exemple #1
0
 private void button4_Click(object sender, EventArgs e)
 {
     lloyd.SpeakTo(lucinda, "Hello");
     lloyd.TellMe("Hi", lucinda);
     lloyd         = lucinda;
     lloyd.EarSize = 4321;
     lloyd.WhoAmI();
 }
Exemple #2
0
 public void SpeakTo(Elephant whoToTalkTo, string message)
 {
     whoToTalkTo.TellMe(message, this);
 }