|
-
Feb 15th, 2007, 01:06 PM
#1
Thread Starter
New Member
hashtable and memory
Hi all,
I would like to know how to be sure that calling the clear method of my hashtable frees memory from the objects inside.
For example I have:
MyHashTable.Add(mykey, new MyObject(...))
.....
and finally
MyHashTable.Clear(); //because I want to re-populate it again
This code erases all MyObject from memory?
If not, how can I do it?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|