String- Function dictionary c# where functions have different arguments

后端 未结 9 2858
温柔的废话
温柔的废话 2021-02-19 09:13

Basically I\'m trying to make a string to function dictionary in c#, I\'ve seen it done like this:

Dictionary>
<         


        
9条回答
  •  日久生厌
    2021-02-19 09:50

    You can use Dictionary. To call a function stored in a Delegate, use the DynamicInvoke() method.

提交回复
热议问题