Im using
[VB]
MyArrayList.Add(new MyClassInstance)
[/VB]
I want to make sure that MyClassInstance is released from memory:
Does the MyArrayList.RemoveAt(index) call does it
or do i have to:
[VB]
MyArrayList(index)=nothing
MyArrayList.RemoveAt(index)
[/VB]
[VB]
MyArrayList.Add(new MyClassInstance)
[/VB]
I want to make sure that MyClassInstance is released from memory:
Does the MyArrayList.RemoveAt(index) call does it
or do i have to:
[VB]
MyArrayList(index)=nothing
MyArrayList.RemoveAt(index)
[/VB]