c# Check Garbage Collection -


is there way check instances classes collected gc , not? 1 option found checking class test described here:

how can write unit test determine whether object can garbage collected?

is there way check classes collected gc , not?

no, because check on object you'd still need reference , prevent collection.

you can build administration weakreferences awkward , costly. not feasible objects.

more important, shouldn't needing this. if think do, analyze thought train.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -