I have a c# list type with multiple objects within.
The structure would be
> -List<object>
> --[0] object{object[]}
> ---[0] = object {string}
> ---[1] = object {string}
> ---[2] = object {string}
> --[1] object{object[]}
> ---[0] = object {string}
> ---[1] = object {string}
> ---[2] = object {string}
I can not figure out how to extract the contents of the object strings in each array. No doubt a newbie mistake.
Can anyone give me a pointer please?
It looks like the
List<object>really contains onlyobject[]where the elements arestring. Try the followingIf LINQ is available you can do the following