Posted By: Jason Olson | Feb 18th @ 10:04 AM | 57,486 Views | 26 Comments
In this episode of 10-4, we introduce some of the new features and functionality coming to the Visual Basic language with the release of Visual Basic 10. We'll cover a whole range of features from Auto-Properties, to Multiline Lambdas, Statement Lambdas, Collection Initializers, Array Literals, and Implicit Line Continuation.

For more 10-4 episodes, be sure to visit:
http://channel9.msdn.com/shows/10-4

Visual Basic Team Blog:
http://blogs.msdn.com/vbteam

Generic Variance in Visual Basic:
http://tinyurl.com/VBGenericVariance

Visual Studio Topic Area on Channel 9:
http://channel9.msdn.com/VisualStudio

Visual Studio 2010 CTP VPC:
http://tinyurl.com/GetCTP

10-4! Over and out!

Rating:
6
0
Chadk
Chadk
excuse me - do you has a flavor?
Wow. 

But when will VB start to innovate? We have seen all this before in Ruby, for instance.
Rhapsody
Rhapsody
In Metal We Trust

Nice video again.

Unfortunately I don't see the (all) new features as an improvements.

Ok, not having to use the line-continuation character is nice as well as the auto properties, but things like (multiline) lambas just make the code more difficult to read.
The same with 'anonymous types'...
Maybe it is because I haven't seen a good example where the features mentioned above are usefull.

But ofcourse it's up to the programmer to use it or not.

Love the new array and dictionary literal syntax!  Thanks for the video, Jason!
Chadk
Chadk
excuse me - do you has a flavor?
Good point. XML literals was a very good feature which I certainly hadn't seen before.
Two things,

You can initialize an array in VB9 on one line: Dim scores() as Integer = {42, 59, 72, 100}

You can't have default property values, but you can have a default value for the member variable that the property wraps.

Also, I fail to see the usefulness of automatic properties.  How is it different than just declaring the member variable as public?
Is VS2010 going to include the feature where all your tool windows may decide to randomly cascade all over the screen upon entering debug mode? Cause I must say, I need this feature. What else would I do with my spare time if I didn't have to sit there and re-position 300 tool windows?
Microsoft Communities