public override void Eat(Korm food) { if (food.Callories < _reauiredCallories) { Console.WriteLine("not enough food"); } else { Console.WriteLine("Yea"); } }
public virtual void Eat(Korm food) { }
public override void Eat(Korm food) { Console.WriteLine($"Yea, foor callor"); }