Ariez Posted April 9, 2003 Posted April 9, 2003 I'm using MyArrayList.Add(new MyClassInstance) I want to make sure that MyClassInstance is released from memory: Does the MyArrayList.RemoveAt(index) call does it or do i have to: MyArrayList(index)=nothing MyArrayList.RemoveAt(index) Quote Auto-suggestion: "I have a life" Uncontroled thinking: "So what the.."
*Experts* Volte Posted April 9, 2003 *Experts* Posted April 9, 2003 I'm pretty sure it will be destroyed by the GarbageCollector once you remove it or destroy the ArrayList. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.