Microsoft and DiscountASP.NET news

Technical Evangelist: Mark Wisecarver

VB and C# enhancements in VS 2010

Somasegar posting some very cool news regarding changes for both VB and C#.
http://blogs.msdn.com/somasegar/archive/2009/08/19/vb-and-c-enhancements-in-vs-2010.aspx

i.e. (Many of us have begged for this)
Visual Basic

The Visual Basic team focused on adding productivity features to the language so developers can get more done in fewer lines of code. The most common customer request for Visual Basic is to remove the underscore (“_”) character when breaking a code statement across multiple lines in most cases. Visual Basic 10 introduces implicit line continuation, which removes the need for the underscore character in most cases.

Function Filter(

ByVal customers As List(Of Customer),

ByVal orderCount As Integer

)

Dim query =

From c In customers

Where c.Orders.Count >

orderCount

Select c

Visit the futures sites for more.
VB Futures site and C# Futures site

By the way, play with it now: download and install Visual Studio Beta 1

Comments

valli said:

hi,

its interesting to see the enhancements of vb and c# in vs 2010. if u want more on this have a look at this link

www.vs-2010.com/.../vs-2010-overview-vb-and-csharp-language.aspx

# October 26, 2009 2:37 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)