Can we return two values from a function?
Answer Posted / abhinav kashyap
Using return statment, it is not possible to return more
than one value but if we use the Out parameters then we can
have return more than one value depanding upon how many
parameters u have given as Out Parameter.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is readline library?
How do you mark a method obsolete?
What is activator c#?
How long does a loop recorder procedure take?
Is string a data type in c#?
Can we maintain state in webservice?
How Global.asax is used ?
What are virtual classes in c#?
How the versioning applies to Assemblies or can you explain version numbers?
How will you allow a class to be inherited, but prevent the method from being over-ridden?
Define c# delegate?
What are the collections in c#?
What is the value which is accepted by all data types ?
Why do we use methods in c#?
what is .NET framework architecture ??