So I can not change object code, I have X instances of it allocated from various assemblies. I want to count how many instances there are. How to count at runtime a number of currently existing instances of object of type X using reflection or something similar not changing the object type source code?
Aucun commentaire:
Enregistrer un commentaire