I want to convert & to &, " to \" etc. Is there a function in c# that could do that without writing all the options manually?<
&
"
You can use System.Net.WebUtility.HtmlDecode(uri);
System.Net.WebUtility.HtmlDecode(uri);