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 the difference between passing a value object by
reference and a reference object by value?

Answer Posted / c

When you pass object by reference to any method, you are
passing reference (base pointer) to method. Any changes
done on this object will get reflected in object in caller.

When you pass any object by value, you are passing copy of
the object and not the reference.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can hashtable have duplicate keys in c#?

896


What is a struct in C#?

992


What are the 3 elements of delegation?

972


Can I call a virtual method from a constructor/destructor?

886


What are properties in c#. Explain with an example?

913


What does string format do?

881


Is c# the same as d flat?

917


what is IComparable

997


Why do we use generics in c#?

983


What is web forms in c#?

933


Explain the difference between .net and c#?

940


Is c# substring zero based?

970


Differentiate between dataset and datareader?

965


Do we get an error while executing the “finally” block in c#?

957


Give some examples for built in datatypes in c#?

974