Dear All, I've an challenge with casting an 2-D array to an object reference. When I'm trying to use the object reference index values to cast it into an one dimensional array, it throws compile time error whereas i am able to cast that object reference to another 2-D array.
This is my code
When I compile it:
Also when I try to get the values of that object reference through this
The same error is showing up in console. Why is it happening ? Regards