P
Philip Daniels
Is there any function in the CLR that can give me a count, by type, of
the number of objects currently instantiated?
the number of objects currently instantiated?
Hello, Philip!
PD> Is there any function in the CLR that can give me a count, by type, of
PD> the number of objects currently instantiated?
In order to know that - you'll have to use Profiling API.
Look at for more details
( http://msdn.microsoft.com/msdnmag/issues/01/12/hood/ )
( http://www.blong.com/Conferences/DCon2003/Internals/Profiling.htm )
Or if you want to know the instances number of your custom type, then
you can create objects factory, where necessary count tracking will be
implemented...