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
Explain the types of errors in c#?
How do you clear a list in c#?
What is the difference between double and decimal in c#?
From which base class do all Web Forms inherit from?
What is binary search tree in data structure?
Why do we use static class in c#?
Can we overload indexer in c#?
Define sealed classes in c#?
What is the execution entry point for a c# console application?
What is assembly and dll in c#?
What is the difference between mobile application and desktop application?
What is the default modifier for class in c#?
What are the different ways of method can be overloaded?
Which is executed if an exception has not occurred?
What is an assembly qualified name? Is it a filename? How is it different?