|
|
От: | Zirok | |
| Дата: | 12.09.07 15:40 | ||
| Оценка: | |||
Dictionary<string, objects> _coll = new Dictionary<string, object>();foreach (KeyValuePair<string, object> item in _coll)
{
string key = item.Key;
bool result = method(item.Value); // Здесь вызываем метод.
if (result == false)
_coll.Remove(key);
}