المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : how to clear string memory from heap without using GC



C# Programming
06-15-2009, 02:20 PM
hi,
i am using for loop and assigning value to a string.the reference of the memory get cleared after exiting the loop but the memory exits ,so I wanna clear heap memory without using Garbage collection within the loop.

Reply soon.
Thanks in advance.