阅读背景:

如何接受任何委托作为参数

来源:互联网 

I am interested in writing a method that would accept another method as a parameter but do not want to be locked into a specific signature - because I don't care about that. I am only interested whether the method throws an exception when invoked. Is there a construct in the .NET Framework that will allow me to accept any delegate as a parameter?I am interested in writing a method that would




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: