I got a string from html like:
var htmlStr = " \\x26lt;span\\x26gt; \\x26lt;/span\\x26gt;";
I can't decode it to C# string like:
<span> </span>
If I modify the string to
var htmlStr = " \x26lt;span\x26gt; \x26lt;/span\x26gt;";
It works good. But how can I do it by replacing string or others way?
BTW, I use Encoding.UTF8.