C# 使用c将WP7中的Html字符转换为其原始字符#
我需要用法语更改以下字符:C# 使用c将WP7中的Html字符转换为其原始字符#,c#,windows-phone-7,windows-phone,C#,Windows Phone 7,Windows Phone,我需要用法语更改以下字符: C'est au tour d' 到其原始字符串,如下所示: C'est au tour d' 我该怎么办?该字符串使用textblock控件显示 var str = HttpUtility.HtmlDecode("C'est au tour d'"); //System.Web 或 或 var str = WebUtility.HtmlDecode("C'est au tour
C'est au tour d'
到其原始字符串,如下所示:
C'est au tour d'
我该怎么办?该字符串使用textblock控件显示
var str = HttpUtility.HtmlDecode("C'est au tour d'"); //System.Web
或
或
var str = WebUtility.HtmlDecode("C'est au tour d'"); //System.Net