Arrays cannot be passed ByVal in VB5 or 6.
The default for arguments in VB.Net however is ByVal.
Does this mean that Arrays are passed ByVal in VB.NET? (Which could imply a hefty memory load if a 1000 * 1000 array is passed)
I don't yet have VB.Net installed, otherwise i would have tested this myself. Thanks in advance for an answer. _________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]
The default for arguments in VB.Net however is ByVal.
Does this mean that Arrays are passed ByVal in VB.NET? (Which could imply a hefty memory load if a 1000 * 1000 array is passed)
I don't yet have VB.Net installed, otherwise i would have tested this myself. Thanks in advance for an answer. _________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]