I have the following code which I am trying to debug
int ll(ref float[,] _lv) {
object[] results = new object[20];
results = func_v1(11, _lv);
}
Breaking to watch variable 'results' shows something like below
results {object[11]}
+ [0] {float[1,1]}
+ [1] {double[1,1]}
+ [2] {float[48,1]}
...
...
+ [10] {float[1,1]}
and I am not able to type cast to get values from it
float f = (float)results[0]; throws an invalid cast exception.
Please help me understand what exactly is this object array and how I can get values out of it.
regards. ak