Reputation: 8889
What is mean by reference in .net wrt CLR (managing objects)?
Upvotes: 0
Views: 304
Reputation: 8926
If you don't want to think in terms of C++ pointers, then it means that if you pass an object to a method by reference, then the method can modify the original object. If you pass it by value, then the method gets a copy of the object and can't modify the original.
Upvotes: 1
Reputation: 15823
That means only pointer to an object is passed, not the whole object...
Upvotes: 1