public int HP{
get => HP;
set{
if(HP == 0){
System.Console.WriteLine("game over");
}else{
hp = value;
System.Console.WriteLine(hp);
}
}
}
//и вот сама ошибка:
<code>
Stack overflow.
Repeat 24088 times:
--------------------------------
at og.we.get_Age()
--------------------------------
at og.we.set_Age(Int32)
at og.og.Main()