Report question

Question: Why can't I use HttpServerUtility.HtmlEncode inside a class?