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.
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.
There’s also a lot of other great articles this month, in particular:
- Visual Studio 2010 Tools for SharePoint Development
- Generating Documents from SharePoint Using Open XML Content Controls