S
Sean
I am a little bit confused about memory clean up in
VB.NET. (Damn I never thought I'd miss News and Deletes
from VC++, but at least I was sure there).
If I have some code like:
Public Function SomeFunction(ByVal count As Integer)
Dim Instance as MyClass
For i = 0 to count
Instance = New MyClass(someconstructordata)
Loop
End Function
When I reach the end of the function, do I have a memory
leak, or does VB.NET clean up all that once the variable
goes out of scoop? What about between loops?
Sean
VB.NET. (Damn I never thought I'd miss News and Deletes
from VC++, but at least I was sure there).
If I have some code like:
Public Function SomeFunction(ByVal count As Integer)
Dim Instance as MyClass
For i = 0 to count
Instance = New MyClass(someconstructordata)
Loop
End Function
When I reach the end of the function, do I have a memory
leak, or does VB.NET clean up all that once the variable
goes out of scoop? What about between loops?
Sean