public void Water(Plant plant) { if (plant == null) { throw new ArgumentNullException("plant"); } plant.Water(); }
public void Water(Plant plant) { plant.Water(); }