Basic Instincts MSDN Magazine Article: Collection and Array Initializers in Visual Basic 2010

I’ve written before about the new array and collection initializer support in Visual Basic 2010. In this month’s MSDN Magazine, Spotty shows us how this new syntax in Visual Basic will make you more productive when writing code.

Collection and Array Initializers in Visual Basic 2010

Visual Basic provides the same support as C# using the new “From” syntax which automatically calls Add for you on any collection that has an Add method. VB also allows you to take it a step further by supporting Extension Methods. If you provide an Add extension method of your own, VB will use that instead making your code even cleaner.

Check out my post and the article.

There’s also a lot of other great articles this month, in particular:

Enjoy!