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
What is satellite assembly? And steps to create satellite assembly?
What exactly is serverless?
How to use exception handling in stored procedure?
Explain the access modifiers in c#?
Contrast System.String and System.Text.StringBuilder classes?
What is access specifier in c#?
What is the differences between datagrid, datalist and repeater in .net?
Define parsing?
What is data adapter in c#?
Can you prevent a class from being instantiated?
what is the difference between .dll and .exe
Explain the process of inheriting a class into another class?
How will you get the different language strings?
What is difference between gridview and form view?
Is string immutable in c#?