0

In the web using c# would be simple

 System.Web.HttpUtility.HtmlDecode() 

but now I am using a winform application and need to convert Html escape values whats the equivalent?

3 Answers 3

3

You can just reference the System.Web library and use it

Sign up to request clarification or add additional context in comments.

2 Comments

And note that you'll have to switch away from the client profile in order to add a reference to System.Web.
damn, i didnt see it because the default client profile version of the .net framework was selected for this project. changed it to just plain .net4 and then it showed in the list of references.
2

If you add System.Web to your project references, then you should be able to use the HttpUtility.HtmlDecode method.

Comments

1

Just add a project reference to the System.Web dll and you should be able to use it.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.