I've a variable of type Object and it contains data like this
Items[0]=[ {id=a,name=b,url=c},{id=d,name=e,url=f},{id=a,name=b,url=c}...]
Items[1]=[ {id=a,name=b,url=c},{id=d,name=e,url=f},{id=a,name=b,url=c}...]
.....
how can I loop this?
UPDATE
if (null != myProjects) //myProjectsis of type object
{
dirEntry = myProjects as Dictionary<string, object>;
dirDetails = dirEntry["Response"] as Dictionary<string, object>;
object projects = null;
foreach (var item in dirDetails)
{
if ("Items" == item.Key)
{
projects = dirDetails["Items"];
break;
}
}
now projects will contain object array.
I wan't to loop that to get some values
typeofItems?