This declaration causes an error because the last item is empty.
var foo = new[] {
new [] {1, 2, 3},
new [] {3, 4, 5},
new [] {}
};
I understand that in general the compiler would need all these arrays to be of the same (anonymous) type, but it seems like it should allow "empty" as a special case and type it like all the others.
Is there some way to declare the above so that I can have an empty array along with the non-empty ones?
Michael