Delegates and ParamArray - Workaround Suggestions?

前端 未结 2 782
悲哀的现实
悲哀的现实 2021-01-18 04:29

Some predefined methods contain a ParamArray in their signature. Delegates, however, cannot contain a ParamArray in their signature.

Question: Assume you wish to cre

2条回答
  •  攒了一身酷
    2021-01-18 05:13

    Are you sure that delegates do not support ParamArray? Ok, even if they don't, ParamArray is syntax sugar for plain old array. define parameter as array, that's it.

提交回复
热议问题