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 satellite assembly? And steps to create satellite assembly?

926


What exactly is serverless?

786


How to use exception handling in stored procedure?

973


Explain the access modifiers in c#?

880


Contrast System.String and System.Text.StringBuilder classes?

923


What is access specifier in c#?

999


What is the differences between datagrid, datalist and repeater in .net?

924


Define parsing?

833


What is data adapter in c#?

816


Can you prevent a class from being instantiated?

956


what is the difference between .dll and .exe

968


Explain the process of inheriting a class into another class?

941


How will you get the different language strings?

869


What is difference between gridview and form view?

957


Is string immutable in c#?

956