c# Check Garbage Collection -
this question has answer here:
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
Post a Comment