public void Enter(IHuman human) { human.IsAlive(); if (human.IsRich()) { Console.WriteLine("A rich human entered the house"); } else { Console.WriteLine("A poor human entered the house"); } }