我已经编码:
foreach (KeyValuePair<string, object> keyValuePair in items)
{
if (keyValuePair.Key == "animals")
{
Dictionary<string, object> animal = new Dictionary<string, object>();
animal.Add(keyValuePair.Key, keyValuePair.Value);
object animalObject = keyValuePair.Value;
foreach (??? in animalObject)
{
}
}
object fajny = keyValuePair.Value;
result2 = fajny as ArrayCollection;
}
我想从animalObject对象循环字典元素:
http://scr.hu/0tgp/6dteu http://screenshu.com/static/uploads/temporary/1h/1p/05/3p9fyc.jpg
我不知道该怎么做。我无法在任何地方搜索帮助。