how to return morethan one value using out parameter in c#.net ;
For Example : public int show(out int []a)
{
int []a={1,2,3,4,5};
return a[];
}
we have to print all the values without using the
Console.WriteLine statement;
Answer Posted / nilesh
printfn "%A" [ 1 .. 5 ];;
| Is This Answer Correct ? | 0 Yes | 7 No |
Post New Answer View All Answers
You have got 1 million parking slots. At a time a parking slot can be free or not. To get next slot easily which data structure to implement?
What is dto c#?
What Is A Multicast Delegate?
When do you generally use a class over a struct?
In object oriented programming, how would you describe encapsulation in c#?
What are the applications of c#?
What is property c#?
What is xamarin used for?
What is xml c#?
Explain publishers and subscribers in events.
Which controls do not have events?
How do I declare inout arguments in c#?
What is clr namespace?
How many root nodes are there in an xml document?
Why would you use untrusted verification?