如何在C#中编写普通的Tilde(〜)?

时间:2022-06-14 00:08:23

If I add a Tilde("~") in the text property of a label,the label doesn't display it,instead it displays an upper tilde.

如果我在标签的text属性中添加Tilde(“〜”),则标签不显示它,而是显示上部波浪号。

How do I write a normal tilde like in the bracksers("~")?

如何在括号内写出正常的波形符号(“〜”)?

2 个解决方案

#1


Isn't that a font issue? Set the font to Courier New and test...

这不是一个字体问题?将字体设置为Courier New并测试...

#2


If you don't want a fixed width font, try Unicode U223C ∼ TILDE OPERATOR rather U007E ~ TILDE

如果您不想使用固定宽度字体,请尝试使用Unicode U223C~TILDE OPERATOR而不是U007E~TIRDE

#1


Isn't that a font issue? Set the font to Courier New and test...

这不是一个字体问题?将字体设置为Courier New并测试...

#2


If you don't want a fixed width font, try Unicode U223C ∼ TILDE OPERATOR rather U007E ~ TILDE

如果您不想使用固定宽度字体,请尝试使用Unicode U223C~TILDE OPERATOR而不是U007E~TIRDE