Imports System
Public Class MainClass
Shared Sub Main()
'Declare variables
Dim strOne As String
Dim strTwo As String
Dim strResults As String
'Set the string values
strOne = "Hello"
strTwo = ", world!"
'Concatenate the strings
strResults = strOne & strTwo
'Display the results
System.Console.WriteLine(strResults)
End Sub
End Class
|