Cannot implicitly convert type 'string' to 'System.Web.HtmlString' in C#?
Try using
MvcHtmlString.Create(String)
Method
If you are using the MVC 5.2 or later.
can you not do content =new HtmlString(c.Value);
?
Try using
MvcHtmlString.Create(String)
Method
If you are using the MVC 5.2 or later.
can you not do content =new HtmlString(c.Value);
?