@functions
{
HtmlString PrintSomething()
{
return new HtmlString("Hello World");
}
}
Returning a HtmlString object will allow you to print to the screen.<div>@PrintSomething()</div>
@functions
{
HtmlString PrintSomething()
{
return new HtmlString("Hello World");
}
}
Returning a HtmlString object will allow you to print to the screen.<div>@PrintSomething()</div>