<分区>
Possible Duplicate:
very simple delegate musing
我一直想知道这种定义委托(delegate)的方法有什么区别
System.Action act;
act = MethodWithoutParameters;
还有这个
System.Action act;
act = new System.Action(MethodWithoutParameters);
.我应该更喜欢一个吗?如果是这样,为什么? 不幸的是,我找不到关于我的问题的太多信息。 如果有人能告诉我这两段代码之间的区别,我将不胜感激。