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()
You can use @@ for this purpose. Like var email = firstName + '\@@' + domain;
var email = firstName + '\@@' + domain;
this work for me
<meta name="author" content="Alan van Buuren @("@Alan_van_Buuren")">
Or yoy can use: @@Alan_van_Buuren
:D
Instead of HTML entity I prefer the use of @Html.Raw("@").
@Html.Raw("@")