我需要用法语更改以下字符:
C'est au tour d'
到原始字符串:
C'est au tour d'
我该如何解决这个问题?该字符串显示文本块控件
答案 0 :(得分:3)
var str = HttpUtility.HtmlDecode("C'est au tour d'"); //System.Web
或
var str = WebUtility.HtmlDecode("C'est au tour d'"); //System.Net