Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Calling UrlDecode in a C# .NET 4.0 Visual Studio 2010 Console Application?

OK, for some reason Microsoft removed System.Web but we can import System.Net.WebUtility and call HtmlDecode(), but how can we call UrlDecode()?

Please answer for .NET 4.0/VS2010 B2 ONLY.

like image 956
AUSTX_RJL Avatar asked Dec 20 '09 02:12

AUSTX_RJL


1 Answers

How about Uri.UnescapeDataString?

like image 178
SLaks Avatar answered Oct 14 '22 00:10

SLaks