Can we return two values from a function?
Answer Posted / dumb_dumb
Function always returns only one return value.
In other word, function cannot have a multiple return value.
The out or ref parameter can be used to trick the problem. However the return value still only one since Even the void function/method return 'null' value.
Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
Can extension methods access private members?
How do you declare a variable in c#?
Why hashtable is thread safe in c#?
What are data types in C#?
Is unboxing an implicit conversion?
What is eager loading in c#?
Are c# destructors the same as c++ destructors?
What is ado c#?
update data in an xml file which resides in solution itself, using silverlight 4.0
Explain the advantage of using system.text.stringbuilder over system.string?
What is msil, and why should developers need an appreciation of it if at all?
What do you mean by casting a data type?
What is lazy in c#?
What is the difference between struct and class in c#?
What is global namespace in c#?