private void textBox1_TextChanged(object sender, EventArgs e)
{
char[] p_chr = textBox1.Text.ToCharArray();
Array.Reverse(p_chr,0,textBox1.Text.Length);
textBox2.Text = new StringBuilder().Append(p_chr).ToString();
}
//text1为输入,text2为输出;
2021-11-17 04:55:36
private void textBox1_TextChanged(object sender, EventArgs e)
{
char[] p_chr = textBox1.Text.ToCharArray();
Array.Reverse(p_chr,0,textBox1.Text.Length);
textBox2.Text = new StringBuilder().Append(p_chr).ToString();
}
//text1为输入,text2为输出;