Hello,
I have a question and I hope to find the answer in this magnificent website.
my question is:
What happens when you pass different arguments into a function – what does it print or return?
Thank you,
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.
Jignesh TrivediPosted Feb 10, 2014, 1:07 AM
hi,
Yes if you pass different type of argument into the function it give compile time exception.
VulpesPosted Feb 9, 2014, 10:17 AM
However, as Shweta said, they don't directly affect what the method prints or returns. In fact it needn't print or return anything at all!
Shweta LodhaPosted Feb 9, 2014, 4:19 AM
Biswa Pujarini MohapatraPosted Feb 9, 2014, 4:09 AM
http://msdn.microsoft.com/en-us/library/ms173114.aspx