代替textbox1.Text == textBox2.Text每个字符配对的代码是什么,检查每个字符是否相同
private void button1_Click(object sender, EventArgs e)
{
if (label1.Text == richTextBox1.Text)
{
string message = "Correct Match";
string title = "Result";
MessageBox.Show(message, title);
}
}