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

What is difference between method overriding and method overloading?

998


What is meant by collections in c#?

806


Is c# pass by value?

862


Describe the ways of cleaning up objects in c#.

860


What is the difference between ref and out parameters in c#?

947


What are the drawbacks of extending an interface as opposed to extending a class?

829


What is mvc pattern in c#?

884


Why do we use interfaces in c#?

902


How do you comment out code in c#?

855


Can hashtable have duplicate keys?

858


Why singleton pattern is used in c#?

912


What Is The Difference Between The System.array.copyto() And System.array.clone()?

969


What is difference between variable and property in c#?

847


What is polymorphism in c sharp?

931


There were a lot of questions asked, so I will list the topic (and add a what is "topic" and know pros/cons). Extreme programming, what is a transaction, various SDLC design approaches, what is a namespace, define a good test case, what is a stored proc, webservice? design patterns? linker? compiler? access modifiers? stack vs. queue? arrays vs. linked lists? sorting algorithms? recursion? OOP principles?

1984