Advertisement
cogier

Array concatenation

Mar 25th, 2020
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.39 KB | None | 0 0
  1. 'https://rosettacode.org/wiki/Array_concatenation
  2. Imports System
  3. Module Program
  4.     Sub Main()
  5.  
  6.         Dim sString1 As List(Of String) = {"The", "quick", "brown", "fox"}.ToList
  7.         Dim sString2 As List(Of String) = {"jumped", "over", "the", "lazy", "dog"}.ToList
  8.  
  9.         sString1.AddRange(sString2)
  10.  
  11.         Console.WriteLine(String.Join(" ", sString1))
  12.  
  13.     End Sub
  14. End Module
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement