Home > DeveloperSection > Interviews > How do you specify comments using razor syntax?

Posted on    September-07-2012 1:14 AM

 ASP.NET MVC ASP.NET MVC 
Ratings:
 1 Answer(s)
  4337  View(s)
Rate this:

AVADHESH PATEL

Total Post:257

Points:1285
Posted on    September-07-2012 12:00 AM

Razor syntax makes use of @* to indicate the begining of a comment and *@ to indicate the end. An example is shown below.
@* This is a Comment *@

Don't want to miss updates? Please click the below button!

Follow MindStick