📜  vb.net 在字符串中包含引号 - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:56.388000             🧑  作者: Mango

代码示例2
Dim lQuotes As Char = Convert.ToChar(&H201C) ' “
Dim rQuotes As Char = Convert.ToChar(&H201D) ' ”

Dim str As String = String.Format("{0}Hello World{1}", lQuotes, rQuotes)

Console.WriteLine(str) ' “Hello World”