views:

743

answers:

1

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.

+1  A: 

How about Uri.UnescapeDataString?

SLaks
That works! But why is something as well know as UrlDecode() getting a breaking change?
AUSTX_RJL
`System.Web` was only removed from the Client Profile. If you switch to the full framework in project properties, it'll still be there.
SLaks