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 difference between private and protected in c#?
Can we declare class as protected?
What is thread.sleep()?
What is difference between events and delegates?
What is the main purpose of xml?
How do I format a string in c#?
Is null empty or whitespace c#?
How do I calculate relative time?
What are strings in c#?
What is the and operator in c#?
What is data reader in c#?
What is the base class in .net from which all the classes are derived from?
Name some string escape sequences in c#.
Is arraylist faster than linkedlist?
What is global asax in c#?