I am creating a sample ASP.NET MVC 3 site using Razor as view engine. The razor syntax starts with @ character e.g. @RenderBody(). If I write @test
@
@RenderBody()
For the question about @RazorCodePart1 @@ @RazorCodePart2, you need to the sequence:
@RazorCodePart1 @@ @RazorCodePart2
@RazorCodePart1 @:@@ @RazorCodePart2
I know, it looks a bit odd, but it works and will get you the literal character '@' between the code blocks.