BeginInvoke委托定义的简写语法

时间:2013-01-30 10:02:14

标签: c# winforms delegates begininvoke

  

可能重复:
  MethodInvoker vs Action for Control.BeginInvoke

这两个定义之间的区别在哪里,是否有更短的方法来做同样的行为?

control.BeginInvoke((MethodInvoker)delegate {

});

control.BeginInvoke((Action)delegate {

});

0 个答案:

没有答案
相关问题