Does VB.NET 2010 support arrays of anonymous objects? -


In C #, one can create an anonymous line, which contains new [] . It was not supported in earlier versions of VB.NET, but I suggest that it can be supported in VB.NET 2010. Although I am not able to confirm it.

Does VB.NET 2010 anonymous objects support arrays

yes it does You can write one like this:

  dim value = {{first.first = "matte"} with new, {.first = "Mallory"}} with new > 

Updated: I removed (no need) after the values ​​given by Ahmed Mageed


Comments