Array and Collection Initializers in Visual Basic 2010

Download

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.

Enjoy,
-Beth Massi, Visual Studio Community

Tags:

Follow the Discussion

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.