String Concatenate : String Concatenate « Data Type « VB.Net Tutorial






Option Strict On
 Imports System
 Class Tester
     Public Shared Sub Main( )
         Dim s1 As String = "abcd"
         Dim s2 As String = "ABCD"

         ' concatenation method
         Dim s3 As String = String.Concat(s1, s2)
         Console.WriteLine("s3 concatenated from s1 and s2: {0}", s3)

     End Sub 'Main
 End Class 'Tester
s3 concatenated from s1 and s2: abcdABCD








2.27.String Concatenate
2.27.1.String Concatenate
2.27.2.Use the overloaded operator
2.27.3.Create Random String from String array
2.27.4.Concat method with a String array.