㈠ 求c#高手帮忙,输入一组数字,要求按一下按钮就变成倒了,如123变321
private void button1_Click(object sender, EventArgs e)
{
string s=textBox1.Text.Trim();
textBox1.Text = "";
int i=s.Length;
while (i-->0)
{
textBox1.Text += s.ToCharArray(0,i+1)[i];
}
}