VB .Net 2008 - List all objects currently in scope?
问题 Please can any one advise me if there is an object in .net that can be used to get a list or references to all objects that are currently in scope for an object. For example if the code is currently executing in a method, what objects declared in this method are currently instanciated and alive and what objects that are declared at class level have been instanciated already and are alive? Also I know I can test each object declared explicitly for a null reference, but I am looking for