DEV Community

Discussion on: Copy By Reference vs Copy By Value Analogy

Collapse
 
coderljy profile image
KenntsuRinn • Edited

In details, copy by value, is just copying the reference of the object, so it can not be rewrite, except tagging ref keyword. So, in my view, copy by value, just can not rewrite reference address,except ref.