Array and Collection Initializers in Visual Basic 2010

  • Posted: May 03, 2010 at 8:32 AM
  • By: Beth Massi
  • Avg Rating: 0

  • 37,552 Views

Download

Right click “Save as…”

Embed code for this video

Copy the code above to embed our video on your website/blog.

Close

Video format

Note: These selections will fall back to the next best format depending upon browser capability.

Close

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:

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.