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 the difference between select and selectmany?

1007


How do you specify a custom attribute for the entire assembly (rather than for a class)?

1000


who is a protected class-level variable available to?

1074


Is string nullable in c#?

1010


Is c# easier than c++?

964


Are value types sealed?

1041


To allow an element to be accessed using a unique key which .NET collection class is used ?

1134


Why do we need nullable types in c#?

1219


What is a service layer c#?

909


List the two important objects of ado.net and also list the namespaces that are commonly used in ado.net to aid in connection to a database.

956


Does constructor return any value in c#?

1004


Is collection a data structure?

987


What are the 2 kinds of data type conversions in c#?

928


What is dll hell, and how does .net solve it?

1015


How does dll hell solve in .net?

1012