In C#, one can create an array of anonymous objects with new []
. This was not supported in earlier versions of VB.NET, but a comment by Chris Dwyer in another StackOverflow post suggests to me that it might be supported in VB.NET 2010. I haven't been able to confirm this though.
Does VB.NET 2010 support arrays of anonymous objects?