Пример #1
0
 public void TakeTurn(IBaseballBat bat)
 {
     bat.Swing();
 }
Пример #2
0
 public void TakeTurn(IBaseballBat typeOfBat)
 {
     typeOfBat.Swing();
 }