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 / abhinav kashyap

Using return statment, it is not possible to return more
than one value but if we use the Out parameters then we can
have return more than one value depanding upon how many
parameters u have given as Out Parameter.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are multiple data types stored in System.Array?

1180


What is the use of delegates in c#?

875


When should you use generics?

922


What is sqlcommandbuilder c#?

931


What is Reflection in .NET? Namespace? How will you load an assembly which is not referenced by current assembly?

967


Why do we need generics in c#?

924


Is double a decimal?

929


How can you force derived classes to provide new method implementations for virtual methods?

903


What is an inheritance in c#?

879


Why var is used in c#?

957


Write one code example for compile time binding and one for run time binding? What is early/late binding?

1018


What is nameof c#?

896


What are native methods?

864


What is static class in C#?

1024


Explain how do you directly call a native function exported from a dll?

908