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 literal in c#?
Which programming language is best for desktop applications?
What are actions in c#?
Why do we need constructor?
What is .dbml file?
What is the difference between interface and abstract class in c#?
Why dependency injection is used in c#?
Explain About .NET Framework
What is boolean conditions in c#?
How do you use nullable?
What is xml serializer?
Why is xml called extensible?
Is datetime value type c#?
Define Abstract Class in C#
In gridview in editmode if we want to display information in one combobox based on