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
What is a singleton unity?
What is the use of console application in c#?
What are the access modifiers in c#?
What is ControlBox Propertie
Difference between StackPanel and RelativePanel ?
Are all methods virtual in c#?
What is difference between iqueryable and ienumerable in c#?
What is difference between constants and read-only?
Explain the OOPS concept in C#?
What are Types of assemblies that can be created in dotnet
What is oledb in c#?
What is difference between static and constant variable?
Is friend a constructor?
What is hashtable c#?
How many types of delegates are there in c#?