摘要:
private void button7_Click(object sender, EventArgs e) { Actionint, int action = (x, y) = { MessageBox.Show((x+y).ToString()); }; action(1, 2); } private void button11_Click(object sender, EventArgs e) { Actionint, int action = delegate(int x, int y) { MessageBox.Show((x + y).ToString()); }; 阅读全文