6
Answers

parameters in C# method

fancy

fancy

11y
1.2k
1
I want to pass 5 parameters in a method in C#. 3 of those are int i, string s,int x, ref sVal(string),ref iVal(int).
What is the good approach to do this? Should I use param[]args, list,object??

Thanks
Shals
Answers (6)