Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

You have got 1 million parking slots. At a time a parking slot can be free or not. To get next slot easily which data structure to implement?

1079


What is dto c#?

901


What Is A Multicast Delegate?

1067


When do you generally use a class over a struct?

968


In object oriented programming, how would you describe encapsulation in c#?

965


What are the applications of c#?

1710


What is property c#?

950


What is xamarin used for?

936


What is xml c#?

885


Explain publishers and subscribers in events.

953


Which controls do not have events?

1029


How do I declare inout arguments in c#?

939


What is clr namespace?

1040


How many root nodes are there in an xml document?

861


Why would you use untrusted verification?

931