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

Write a sample code to write the contents to text file in c#?

960


What is private readonly in c#?

958


What is difference between ienumerable and enumerable in c#?

936


State two different types of access modifiers.

1015


Why is c# a good programming language?

1008


Are structs value types or reference types?

1079


What is attribute c#?

859


Is hashset serializable c#?

998


What is console write in c#?

943


What is object pool in .net?

949


What is the use of partial methods?

1070


What is difference between first and firstordefault?

918


What are circular references?

960


What is the difference between constants and read-only?

928


What is an xsd file?

930