KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to use the following code: string myString = HttpServerUtility.HtmlEncode("my link & details"); I am getting the following error: An object reference is required for the nonstatic field, method, or property. Why can't I use HttpServerUtility.HtmlEncode inside a class?
Tags (comma-separated)
Save Edits
Cancel