📜  vb.net 字符串中的单引号 - C# 代码示例

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

代码示例1
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”