Is there any function that converts an escaped Url string to its unescaped form? System.Web.HttpUtility.UrlDecode()
can do that job but I don't want to add a reference to System.Web.dll
. Since my app is not a web application, I don't want to add a dependency for only using a function in an assembly.
UPDATE: Check Rick Strahl's blog post about the same issue.
See Question&Answers more detail:os