I found a great posting explaining value vs reference types and passing them around (ByRef/ByVal) to methods.
When I first made the switch from VB6 to VB.NET - it took me several weeks to understand the changes in object types and more specifically how they are interacted with when being based byVal - from my VB6 standpoint, I just always thought that if you passed byVal, you wouldn't change the original value, you would be changing a copy of the original value - not so in vb.net. I wish I had been able to review this article back then.
Remember Me
Page rendered at 1/6/2009 2:38:53 PM (Eastern Standard Time, UTC-05:00)
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.