更新时间:2022-06-09 01:44:03
只是为我澄清一下...
第一个响应提到"delegate",它是C#中的特定语法元素(也不只是4.0).它允许一个人声明一个方法签名.
从OP看来,问题似乎是如何传递方法签名.
那么为什么委托"不是答案?
Just to clarify it for me...
The first response mentioned "delegate" which is a specific syntax element in C# (not just 4.0 either.) It allows one to declare a method signature.
And from the OP it seems like the question was how to pass a method signature.
So why is "delegate" not the answer?