So from using underscore (_)
Dim sMyString As String = "This is " & _
" a " & _
" test "
Console.WriteLine(sMyString)
Now you, don't need it anymore
Dim sMyString As String = "This is " &
" a " &
" test "
Console.WriteLine(sMyString)
How about Multiple statements in a single line?
Dim sMyString As String = "This is " & " a " & " test " : Console.WriteLine(sMyString)
For more VB.NET tips & tricks, subscribe now.
0 comments:
Post a Comment