3 ms·
That's just the thing: It's never pass by ref. References are passed by value. If it were pass by ref, you could make a parameter point to a different object a
by m_myers 16y ago
That's just the thing: It's never pass by ref. References are passed by value.
If it were pass by ref, you could make a parameter point to a different object and it would still be visible after the method had returned.