【发布时间】:2011-06-21 18:52:46
【问题描述】:
这个post 有评论if you need to call the method multiple times, use reflection once to find it, then assign it to a delegate, and then call the delegate.。
-
delegate如何以及为什么工作得更快?谁能举个例子? - 我可以打电话给
caching吗?如果是这样,除了这个带委托的缓存方法之外,还有其他方法吗?
添加
我想出了一个使用delegatehere的例子。
【问题讨论】:
标签: c# .net reflection delegates