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

Difference between ByVal and ByRef?

Answer Posted / bhaskar

ByVal means only the value is passed to the calling function
but.. modifications will not reflect the original value..

ByRef means the address where the value stored is passes to
the calling function so the modifications made are reflected
to the original value..

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is yield return in c#?

945


What is the use of static in c#?

937


When would you use generics in your code c#?

916


Explain how to implement an object pool in c#.net

962


What does out mean in c#?

942


What are generic types?

939


Why are strings immutable in c#?

902


Explain the difference between proc. Sent by val and by sub?

929


How many constructors can a class have in c#?

916


Is string nullable c#?

1006


What is the difference between class and namespace?

980


Is list a collection c#?

985


List out two different types of errors in c#?

925


What is an inheritance in c#?

884


What is difference between float and decimal?

974