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

Why do we need to call CG.SupressFinalize?

990


Enlist all the components of an ado.net framework?

873


Name the connections does microsoft sql server support?

927


How can you reference current thread of the method ?

962


What is difference between var dynamic and object in c#?

940


Can a string be null c#?

890


How many aware interfaces are there?

927


What is a data set in c#?

938


What is a .exe extension files? How is it similar to .dll extension files?

1042


How do I create a multilanguage, single-file assembly?

916


What are the benefits of using the aggregate method in linq?

1009


What is a generic c#?

906


what is IDisposal interface,IComparable,IEquatable,IFormatable

1018


How do I port "synchronized" functions from visual j++ to c#?

902


What is a clr (common language runtime)?

901