How can i work with Array in Object Array
Please see picture for more info :
I use from forech for get Object and then i want to work with Array in Object but it's not possible
foreach (object element in result)
I want to get value from array and work with them for example i want to get "TestCategory_1" or etc but i can't
now how can i work with value like this ?
Kind regards
it seems that element
s from result
are of type IDictionary.
Try with this:
foreach (IDictionary element in result)
{
var testCategory = element["categoryName"];
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With