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
Distinguish between the Debug class and Trace class with its functionality?
What is difference between struct and class in c#?
What is generic and non generic collections in c#?
Why do we need singleton class in c#?
What is singleordefault?
What benefit do you get from using a primary interop assembly (pia)?
What is an int in c#?
Is string a primitive data type in c#?
What is data binding c#?
What is the advantage of singleton class?
what optimizations does the c# compiler perform when you use the /optimize+ compiler option?
What is the use of console?
What is difference between a type and class?
What is view model in c#?
What is constants in c#?