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...

Can we return two values from a function?

Answer Posted / dumb_dumb

Function always returns only one return value.
In other word, function cannot have a multiple return value.

The out or ref parameter can be used to trick the problem. However the return value still only one since Even the void function/method return 'null' value.

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of hashtable in c#?

835


In .NET which is the smallest unit of execution?

1019


Does c# have primitives?

830


What is difference between string and string builder?

924


What is difference between dynamic and var in c#?

894


What is method overriding in c#

1040


What is an extension method in c#?

945


What is the difference between a field and a property in c#?

892


Why is c# a good programming language?

935


Why do I get a security exception when I try to run my c# app?

960


What is an assembly in .net?

951


How do you implement thread synchronization in c#?

852


write a c# program add two matrix with input number ?

918


What does console writeline do?

853


What is the difference between values and reference types?

945