Senin, 23 Agustus 2010

How do I get the reference count of a CLR object ?

A customer asked the rather enigmatic question (with no context):Is there a way to get the reference count of an object in .Net?Thanks,Bob SmithSenior DeveloperContosoThe CLR does not maintain reference counts, so there is no reference count to "get". The garbage collector only cares about whether an object has zero references or at least one reference. It doesn't care if there is one, two,

Tidak ada komentar:

Posting Komentar