static string Restr(string oldstr)
{
string newstr="";
for(int i=oldstr.length-1;i>=0;i++)
{
newstr+=oldstr[i];
}
return newstr;
}
//有空格符的反转
static string Restr(string oldstr)
{
string []strarry=oldstr.Spilt(' ')//fen ge fu
string newstr="";
for(int i=strarrry.length-1;i>=0;i++)
{
newstr+=strarryr[i]
}
return newstr;
}