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

can multiple catch blocks be executed for a single try statement?

1029


What is the difference between abstract and virtual?

956


What does assert() do in c#?

1072


What is field in c#?

965


What are the different types of literals in c#?

1102


What is tryparse c#?

997


When should I throw an exception?

1046


What is the use of ispostback in c#?

925


Is static thread safe?

934


What you mean by delegate in c#?

946


Why we use oops in c#?

1031


Write a program in c# to find the angle between the hours and minutes in a clock?

984


What is IL / CIL / MSIL?

1166


What is a helper method in c#?

976


What is the difference between continue and break statement?

1011