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 Inheritance in C#?
What is an inheritance ?Give an example in which inheritance is used?
Why is lazy loading?
What is hierarchical inheritance in c#?
What is datatable in c#?
What is the meaning of MSIL?
What is an object pool in .net?
What's the difference between a static method and a non static method c#?
What is a void c#?
What are sorted lists?
Compare and contrast between the System.Array.CopyTo() and Clone()?
What is the main purpose of xml?
What is meant by enumerable in c#?
What is datetime parse in c#?
What is parseexact c#?