Delegates and ParamArray - Workaround Suggestions?
Posted
by M.A. Hanin
on Stack Overflow
See other posts from Stack Overflow
or by M.A. Hanin
Published on 2010-04-14T18:50:35Z
Indexed on
2010/04/14
18:53 UTC
Read the original article
Hit count: 391
Some predefined methods contain a ParamArray in their signature. Delegates, however, cannot contain a ParamArray in their signature.
Main question: Assume you wish to create a delegation mechanism for a specific method which requires a ParamArray. How would you work around this constraint?
"Bonus" question: Assume you wish to create a generalized delegation mechanism for all methods which require ParamArray, how would you do that?
© Stack Overflow or respective owner