fancy

fancy

  • NA
  • 13
  • 4.1k

parameters in C# method

Apr 27 2013 10:19 AM
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)