㈠ 求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];
}
}