I’m following the ASP.NET MVC Tutorial and having started in VB.NET I’m having trouble converting the following razor code:

I have got
<ul>
@For Each g As MvcApplication1.Genre In Model
<li> @g.Name </li>
Next
</ul>
but getting
Attribute Sepcifier is not a complete
statement
on both the <li> tags. I understand I need to use line continuation but can’t figure out where. I’d be greatful if you can point out the problem.
Put an @ before the
li:I would recommend you the following article.