Drop the Underscore in VB for Line Continuation (New)
The latest version of VB now has a feature for implicit line continuation. This enables you to drop the need for the underscore (_) commonly used to indicate line continuation. For example, the following code shows a valid method signature without the need for the underscore required for line continuation:
Private Sub OnEmployeeUpdate(ByVal sender As Object, ByVal e As EmployeeUpdatedEventArgs)
There are many places in VB where you can eliminate the underscore and instead allow the compiler to use implicit continuation. These include after commas, after an open parenthesis, after an open curly brace, after concatenation, and more. For a full list see “Statements in Visual Basic” inside MSDN. ...