How to write a comment in a Razor view?

markus
markus
4 Points
2 Posts

Hi,

How to write a comment in a Razor view?

Views: 8234
Total Answered: 1
Total Marked As Answer: 0
Posted On: 30-Nov-2015 06:55

Share:   fb twitter linkedin
Answers
Rahul Maurya
Rahul M...
Moderator
1170 Points
210 Posts
     

Hi markus,

You can use following syntax for comment in razor view:

Single line comment:

@* Single line Comment goes here *@

Multiple line comment:

@*
Multiple line
Comment goes here
*@
Posted On: 01-Dec-2015 05:33
banner

Blog

Active User (2)

 Log In to Chat