For the reasons that I still do not understand (see this SO question) multidimensional arrays in CLR do not implement IEnumerable
. So the following doe
There are two reasons they don't implement it natively in C#:
yield
keyword, it just so easy to implement your own that's specific to your need at the time. Of course, that's a C# construct, but it's not that much harder in VB.