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;



how to return morethan one value using out parameter in c#.net ; For Example : public int show(out ..

Answer / nilesh

printfn "%A" [ 1 .. 5 ];;

Is This Answer Correct ?    0 Yes 7 No

Post New Answer

More C Sharp Interview Questions

Can we inherit abstract class in c#?

0 Answers  


why c# is pronounced as C-sharp instead of pronouncing it as C-hash? is there any technical reason behind it?

3 Answers  


What is args c#?

0 Answers  


Why do we overload constructors?

0 Answers  


When do you absolutely have to declare a class as abstract (as opposed to free-willed educated choice or decision based on UML diagram)?

2 Answers   Mind Tree,


How can you prevent classes to be inherited?

10 Answers   Microsoft, Satyam,


Explain ACID rule of thumb for transactions.

1 Answers  


What is the use of inheritance in c#?

0 Answers  


What is a lambda expression in c#?

3 Answers  


Are there constructors in c sharp?

0 Answers  


What is assembly c#?

0 Answers  


What is a variable in c#?

0 Answers  


Categories