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
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Apr 27, 2013, 11:56 AM
fancyPosted Apr 29, 2013, 4:18 PM
thanks again for all ur effort ..
VulpesPosted Apr 29, 2013, 2:39 PM
The output is:
VulpesPosted Apr 29, 2013, 2:30 PM
fancyPosted Apr 29, 2013, 1:29 PM
fancyPosted Apr 27, 2013, 1:01 PM