title: VB .Net 2008 - List all objects currently in scope?
body: <p>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?  </p>
  
  <p>Also I know I can test each object declared explicitly for a null reference, but I am looking for something that is more generic (perhaps using reflection?) that can be used from any method to clear up all alive objects.</p>
  
  <p>Thanks in advance,  </p>
  
  <p>Best regards,<br>
  Duane.</p>