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
Why do we need to call CG.SupressFinalize?
Enlist all the components of an ado.net framework?
Name the connections does microsoft sql server support?
How can you reference current thread of the method ?
What is difference between var dynamic and object in c#?
Can a string be null c#?
How many aware interfaces are there?
What is a data set in c#?
What is a .exe extension files? How is it similar to .dll extension files?
How do I create a multilanguage, single-file assembly?
What are the benefits of using the aggregate method in linq?
What is a generic c#?
what is IDisposal interface,IComparable,IEquatable,IFormatable
How do I port "synchronized" functions from visual j++ to c#?
What is a clr (common language runtime)?