How to initial string with multiline strings in VB.NET

1 Answer

0 votes
Imports System

Public Module Module1
	Public Sub Main()
		Dim s As String = "vb.net " & _
                          "java " & _
                          "c++ " & _
						  "php " & _
						  "python"
		
        Console.WriteLine(s)
	End Sub
End Module




' run:
'
' vb.net java c++ php python
'

 



answered Jan 22, 2021 by avibootz
...