📅  最后修改于: 2022-03-11 14:49:23.895000             🧑  作者: Mango
int length = myString.Length;
for (int i = 0; i < length / 2; i++)
{
if (myString[i] != myString[length - i - 1])
return false;
}
return true;