Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

How to make parameter Action a to be generic to accept for all kinds of function

$
0
0

How to make parameter Action<int> a to be generic to accept for all kinds of function

so far it can accept function func(int a)

if my function is func(int a, int b) or func(int a, string b) or func(int a, int b, int c) etc

there may be infinite number of cases, how to do?


---v-----!


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>