「VB.net」Concat()とAppend()で文字列連結をする

方法1
Dim strA As String = “tokyo-"
Dim strB As String = “oosaka-"

Console.WriteLine(String.Concat(strA, strB, strC, strD))

方法2
Dim strCity As New StringBuilder

strCity.Append(“tokyo-“)
strCity.Append(“oosaka")

Console.WriteLine(str)

Software

Posted by arkgame