如何解决这个错误?
这是我的代码
public void X()
{
foreach (char c in txtNumbers.Text)
{
sum = sum + (int.Parse(c.ToString()) * int.Parse(c.ToString()));
}
txtNumbers.Text = (sum.ToString());
sum = 0;
if (txtNumbers.Text == "1")
{
Response.Write("happy numbers");
return;
} else {
X();
}
}
这就是错误...