All managed object are allocate from managed heap, the GC will trace this
process when an object is created, so that it know if a object is
referenced. Only with a object, we can't know if it has been referenced or
not. Following are some articles on this issue, hope them be helpfull to
answer your question:
Automatic Memory Management
http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconautomaticmemorymanagement.asp
Programming for Garbage Collection
http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconprogrammingessentialsforgarbagecollection.asp
Luke
"Microsoft Security Announcement: Have you installed the patch for
Microsoft Security Bulletin MS03-026?? If not Microsoft strongly advises
you to review the information at the following link regarding Microsoft
Security Bulletin MS03-026
http://www.microsoft.com/security/se...s/ms03-026.asp and/or to
visit Windows Update at
http://windowsupdate.microsoft.com to install the
patch. Running the SCAN program from the Windows Update site will help to
insure you are current with all security patches, not just MS03-026."