Пример #1
0
 public static void WaitForPendingFinalizers()
 {
     while (GC.AnyPendingFinalizers())
     {
         Thread.Sleep(10);
     }
 }