المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How to determine the number of references a program is currently using?



C# Programming
06-17-2009, 03:00 PM
Hi. Is there any ways/ APIs to determine how many references of a certain object/ class a C# program creates/ uses during it's life cycle?

Suppose there's a class Person and in my program several references to Person objects are made. How to determine the number of Person references in my program?

Thanks.

[Kayes]