麻烦大家帮我解释一下这个程序
private void button1_Click(object sender, EventArgs e){
StringBuilder a = new StringBuilder("A");
StringBuilder b = new StringBuilder("B");
operate(a, b);
MessageBox.Show(a + "," + b);
}
private void operate(StringBuilder x, StringBuilder y)
{
x.Append(y);
y = x;
}
为什么出现的结果是:AB,B