当前位置:K88软件开发文章中心编程语言.NET.NET02 → 文章内容

VB.Net - 字符串

减小字体 增大字体 作者:佚名  来源:网上搜集  发布时间:2019-1-15 15:58:58

它产生了以下结果: Last night I dreamt of San PedroSan Pedro. 加入字符串: Module strings Sub Main() Dim strarray As String() = {"Down the way where the nights are gay", "And the sun shines daily on the mountain top", "I took a trip on a sailing ship", "And when I reached Jamaica", "I made a stop"} Dim str As String = String.Join(vbCrLf, strarray) Console.WriteLine(str) Console.ReadLine() End SubEnd Module当上述代码被编译和执行时,它产生了以下结果: Down the way where the nights are gayAnd the sun shines daily on the mountain topI took a trip on a sailing shipAnd when I reached JamaicaI made a stop

上一页  [1] [2] [3] 


VB.Net - 字符串