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

Explain deadlock?

979


What is an enumerator in c#?

937


What is double c#?

929


Where do I put dll files?

994


Is list immutable in c#?

863


How can we sort the elements of the array in descending order?

925


Define an abstract class?

900


What does void do in unity?

944


Why it's said that writing into .NET Application Configuration Files is a Bad Idea?

957


What is the default value of boolean variable?

951


What is difference between for and foreach in c#?

948


Is python easier than c#?

925


What is local function?

920


What is cshtml?

999


Explain about c# language.

1045