i have some problem with a razor syntax. I would like to know how to write inbetween html.. see this sample..
@foreach (var x in Model) {
Does using the <text> tag work? For example:
<text>No tags</text>
You need to explicitly tell Razor that you're writing HTML, by writing @:No Tags or <text>No Tags</text>.
@:No Tags
<text>No Tags</text>