Пример #1
0
 public void SpeakTo(Elephant whoToTalkTo, string message)
 {
     whoToTalkTo.TellMe(message, this);
 }
Пример #2
0
 public void TellMe(String message, Elephant whoSaidIt)
 {
     MessageBox.Show(whoSaidIt.name + " mówi: " + message);
 }