VB2008 changes?

  • Thread starter Thread starter Arthur Dent
  • Start date Start date
A

Arthur Dent

Does anyone know where i can find a decently thorough list of the language
changes in VB2008, such as the new If() function?

All i can seem to find through search engines, most of the articles all talk
about LINQ, with only cursory mention - at best - of any other new features.

Thanks in advance, ...
Arthur Dent.
 
Thanks for the link. It *does* look like one of the better articles, but
still doesnt really cover the new features to the actual _language_ of VB.
 
Arthur Dent said:
Does anyone know where i can find a decently thorough list of the language
changes in VB2008, such as the new If() function?

All i can seem to find through search engines, most of the articles all
talk about LINQ, with only cursory mention - at best - of any other new
features.

Thanks in advance, ...
Arthur Dent.
I am not able to find any reference to an If() function in VS2008. Did you
mean Iif() function?

The most compeling thing about VS2008 is that it is a major bug fix for
VS2005. I am not experiencing all the hangs I used to get in the previous
version (when working on a large solution). Further to this 2008 loads much
faster, projects load much faster and the IDE is much more stable. Help also
loads much faster.

If you like VS2005 you will love VS2008
 
Yes, i've been using the Express version until the product actually ships...
for us non-MSDN people. ;)

If() is a new function in 2008... it has two overloads,

If(booleanCondition, resultIfTrue, resultIfFalse) > this works
basically like Iif() but with lazy evaluation (FINALLY!!)

If(object, defaultValue) > this returns the value of object if possible,
otherwise it returns defaultValue. Sort of a VB implementation of Sql
Server's IsNull function or ORACLE's NVL.

Then things like the shortcut for creating a nullable value...
Dim var As Nullable(Integer) can now be Dim var As Integer?

Those are the little things i'm looking to find out about... some sort of
thorough listing of those kinds of changes.
CheerZ! :)
 
Arthur Dent said:
Does anyone know where i can find a decently thorough list of the language
changes in VB2008, such as the new If() function?

All i can seem to find through search engines, most of the articles all
talk about LINQ, with only cursory mention - at best - of any other new
features.

The Visual Basic Team
<URL:http://blogs.msdn.com/vbteam/>

What's New in Visual Basic
<URL:http://msdn2.microsoft.com/en-us/library/we86c8x2(vs.90).aspx>

What's New in the Visual Basic Language
<URL:http://msdn2.microsoft.com/en-us/library/y17w47af(VS.90).aspx>

What's New in the Visual Basic Compiler
<URL:http://msdn2.microsoft.com/en-us/library/x9es5c23(VS.90).aspx>
 
Back
Top