I’ve written about collection initializers on my blog before, but I thought I’d catch up with the VB Team to tell me more about how they really work.

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.

Channel 9 Interview: Array and Collection Initializers in Visual Basic 2010

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

Also, stop by the Visual Basic Developer Center for more VB resources.

Enjoy,
-Beth Massi, Visual Studio Community