>>791
プロファイラ...
ttp://msdn.microsoft.com/msdnmag/issues/01/12/Hood/Hood0112.asp
ttp://msdn.microsoft.com/msdnmag/issues/01/11/NetProf/NetProf.asp

または、WeakReferenceなんてどう?
using System;
using System.Threading;

class c {
 static void Main() {
  object o = new object();
 
  WeakReference wr = new WeakReference(o);
 
  Thread t = new Thread(new ThreadStart(Week));
 
  t.Start();

  o = null;

  while (wr.Target != null) {
   Thread.Sleep(500);
   Console.Write(".");
  }
  Console.WriteLine("\r\nGCed.");
 }

 static void Week() {
  Console.WriteLine("Now, GC.");
  Console.ReadLine();
  GC.Collect();
 }
}