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 does break do in loop?
Can abstract class be sealed?
Can var be null c#?
What does type safety mean?
What is the use of command builder?
What's the difference between WindowsDefaultLocation and WindowsDefaultBounds?
What can you do as a .net developer?
Is string a data type in c#?
Why are strings immutable in c#?
How assembly versioning in .NET prevent DLL Hell problem?
What is array and arraylist?
Is multiple inheritance possible in c#?
How do I open the console window?
What is the difference between firstordefault and first?
What is assembly c#?