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
can multiple catch blocks be executed for a single try statement?
What is the difference between abstract and virtual?
What does assert() do in c#?
What is field in c#?
What are the different types of literals in c#?
What is tryparse c#?
When should I throw an exception?
What is the use of ispostback in c#?
Is static thread safe?
What you mean by delegate in c#?
Why we use oops in c#?
Write a program in c# to find the angle between the hours and minutes in a clock?
What is IL / CIL / MSIL?
What is a helper method in c#?
What is the difference between continue and break statement?