I have a foreach loop in C# which return some inventory data, the property
foreach (XmlRpcStruct item in result)
object obj = item["location_id"];
obj = 12
obj = "WH/Stock"
Cannot apply indexing with  to an expression of type 'object'
obj as object using:
var list = (object)obj;
Then you can use