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) {
You need to explicitly tell Razor that you're writing HTML, by writing @:No Tags or No Tags.
@:No Tags
No Tags