Possible duplicate:
Monitoring garbage collector in C #
I would like to know how often garbage collection is done in my C # application so that I can register timestamps for later analysis.
Maybe some kind of event or something similar that starts before or after garbage collection, so that I know when exactly the garbage collection occurred?
source share