Some common synonyms of convert are metamorphose, transfigure, transform, transmogrify, and transmute. While all these words mean "to change a thing into a different thing," convert implies a change fitting something for a new or different use or function.
To convert one thing into another means to change it into a different shape or form.
An example of conversion is exchanging dollars for euros. An example of conversion is figuring out how many cups are in a liter. The expression of a quantity in alternative units, as of length or weight.
In maths, conversion is the process of changing the value of one form to another for example inches to millimeters, or liters to gallons. Units are used for measuring length, measuring weight, measuring capacity, measuring temperature, and measuring speed.
System.Web.HttpUtility.HtmlDecode()
Edit: Note from here that "To encode or decode values outside of a web application, use..."
System.Net.WebUtility.HtmlDecode()
Use the static method
HttpUtility.HtmlEncode
to change &
to &
and "
to "
. Use
HttpUtility.HtmlDecode
to do the reverse.
You can use System.Net.WebUtility.HtmlDecode(uri);
using System.Web;
...
var html = "this is a sample & string";
var decodedhtml = HttpUtility.HtmlDecode(html);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With