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
Write a sample code to write the contents to text file in c#?
What is private readonly in c#?
What is difference between ienumerable and enumerable in c#?
State two different types of access modifiers.
Why is c# a good programming language?
Are structs value types or reference types?
What is attribute c#?
Is hashset serializable c#?
What is console write in c#?
What is object pool in .net?
What is the use of partial methods?
What is difference between first and firstordefault?
What are circular references?
What is the difference between constants and read-only?
What is an xsd file?