I was somewhat surprised to see the below work coming from a C++ background.
It obviously holds the bounds information at runtime, how can i get the first and 2nd bounds?
Reflection is welcome but not recommended.
ff(new int[3, 4]);
static void ff(int[,] a)
{
var aa = a[1, 2];
}
1 Answer