Why don't Funcs accept more than 16 arguments?

后端 未结 6 972
情话喂你
情话喂你 2021-02-05 04:54

Since Javascript is the language that I am the most proficient at, I am familiar with using functions as first-class objects. I had thought that C# lacked this feature, but then

6条回答
  •  天涯浪人
    2021-02-05 05:21

    You can create your own delegate with more than 16 arguments. Or you can use Tuple (or any other data structure) as parameter.

提交回复
热议问题