Array and Collection Initializers in Visual Basic 2010

34 minutes, 31 seconds


Right click “Save as…”

In this interview Spotty Bowles, a tester on the VB Compiler team, shows us a couple of new language features: Array and Collection Initializers. He gives us insight into how they are implemented in the compiler and best practices on how to use them in our code. Additionally, he discusses how to extend Collection Initializers with your own extension methods.

For more new Visual Basic language features in Visual Studio 2010 see:

Also, stop by the Visual Basic Team Blog and the Visual Basic Developer Center.

-Beth Massi, Visual Studio Community


Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.