Пример #1
0
 static public void RemoveEachSecondItem(ref IHuman list, IntFilter filter)
 {
     while (list.Length() == 1)
     {
         for (int i = 1; i <= list.Length(); i++)
         {
             if (filter(i))
             {
                 list.Remove(i);
             }
         }
     }
 }