Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

html inside razor

You could use @: to escape:
@if(Model.foo)
{
    @:Hello World
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #html #razor
ADD COMMENT
Topic
Name
9+4 =