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

What is "out" parameter how it is used in methods?

Answer Posted / bhavnasweet04

Out Parameter: Used to pass a parameter as a reference so
that the function called will set the value. This could be
used to return more than 1 value by a function.
e.g.

public int AddMuliply( int a int b out int c)
{
c a*b;
return ( a+b);
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a razor file?

954


Explain the advantages and disadvantages of ASP.Net MVC over ASP.NET?

994


Why to use '{resource}.axd/{*pathInfo}' in routing in ASP.Net MVC?

2690


Which version of the common language runtime (clr) does the .net framework 3.0 use?

1068


What is oauth in web api?

1006


What are the levels at which filters can be applied in an asp.net mvc application?

1102


What is the use of razor view engine?

957


What is needed for running an application built on winfx on the .net framework 3.0?

938


what is deferred loading(lazy loading)?

1004


How we can call a javascript function on the change of a dropdown list in mvc?

1037


Describe the roles of clr in .net framework.?

1101


What is the difference between partial and renderpartial?

908


What are the two ways to add constraints to a route?

960


How route table has been created in asp.net mvc?

980


What is .net core framework?

982