Mega Code Archive

 
Categories / VB.Net / Data Types
 

Concatenate the strings and display the results

Imports System Public Class MainClass     Shared Sub Main()         'Declare variables and set their values         Dim strOne As String = "Visual Basic "         Dim strTwo As String = "2005"         'Concatenate the strings and display the results         System.Console.WriteLine(strOne & strTwo)     End Sub End Class