Variable parameters in C# Lambda

前端 未结 5 1279
别跟我提以往
别跟我提以往 2021-01-01 23:07

Is it possible to have a C# lambda/delegate that can take a variable number of parameters that can be invoked with a Dynamic-invoke?

All my attempts to use the \'par

5条回答
  •  长发绾君心
    2021-01-01 23:28

    No, but any of the parameters it does take can be an array.

    Without more details, that's the long and short of it.

提交回复
热议问题