多行字符串文字
VB 现在允许分割多行的字符串文字。
旧语法:
Dim text As String = "Line1" & Environment.NewLine & "Line2"
新语法:
Dim text As String = "Line 1
Line 2"
VB 现在允许分割多行的字符串文字。
旧语法:
Dim text As String = "Line1" & Environment.NewLine & "Line2"
新语法:
Dim text As String = "Line 1
Line 2"