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