I was trying to use the following statement:
@Html.Test().Nand()
However, Razor is choking at the < before the ISQL.
Any
I appreciate that this 'answer' is somewhat late and the question has obviously been satisfactorily (and well) answered. However, for any future visitors to this page, if you're after a more complete reference guide there's the MS introduction to Razor syntax as well as Phil Haack's very useful Razor quick reference blog post.