Search notes:

System.Net.WebUtility (class)

HtmlEncode('&') returns &.
HtmlDecode('&') returns &.
UrlEncode('Foo/bar baz') returns foo%2Fbar+baz.
UrlDecode('foo%2Fbar+baz') returns foo/bar baz.

See also

Compare with [Uri]::EscapeDataString

Index