I'm creating some html code from a cs file, which i want to be rendered one the actual site. But what I get rendered is the "raw" html code, not the rendered. What am I doing wrong?
the .cshtml code:
<div>
@class1.createhtml();
</div>
the .cs code:
public static string createhtml()
{
return "<p>hi</p>";
}