Interviews1 answer
Hi,how to know garbage collector these objects are no longer need for clean up
1 Answer
ps write the question clearly...
ans1: objects need to tell GC that no need to finalize me.
GC.SurpressFinalize(object);
ans2: tell GC to start clearing the memory
GC.Collect();
Regards
Sam
sam41180Posted Mar 8, 2007, 6:59 AM EST