Код: Выделить всё
foreach(int item in items)
{
//rest of the code
}
Код: Выделить всё
foreach(Dictionary item in dictionaryobject)
{
//compile error
}
Код: Выделить всё
foreach(KeyValuePair item in dictionaryobject)
{
//code
}
Подробнее здесь: https://stackoverflow.com/questions/789 ... dictionary
Мобильная версия