Код: Выделить всё
List sets = new List();
foreach (List list in sets)
{
foreach (String c in X)
{
List newSet = ir_a(list, c, productions);
if (newSet.Count > 0)
{
sets.Add(newSet);
}
}
}
< /code>
Ошибка, которую я получаю после нескольких циклов, заключается в следующем: < /p>
Collection was modified; enumeration operation may not execute
Подробнее здесь: https://stackoverflow.com/questions/441 ... ng-over-it
Мобильная версия