I have a class library (in C#). I need to encode my data using the HtmlEncode method. This is easy to do from a web application. My question is, how do I use this method fro
System.Net.WebUtility class is available starting from .NET 4.0 (You donʼt need System.Web.dll dependency).