Can we return two values from a function?
Answer Posted / srinivas.r
Function should have only one return statement,whereas
using out parameter its possible to send more than on value.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is clr in c#?
Why do we need indexer in c#?
In which order the constructor is called for an inherited class?
What is the implicit name of the parameter that gets passed into the set method/property of a class?
What is difference between event and delegate in c#?
What is the meaning of MSIL?
What is a class in unity?
Why we use get and set property in c#?
What are the Types of caching
what is difference between is and as operators in c#?
Major difference between Basic httpbinding and WShttpbinding?
How do I run managed code in a process?
What is extended class in c#?
What is wrong with the sample program below?
What are access modifiers in c#?