Thursday, June 21, 2012

To comment a line in Razor

To comment a line in Razor file .cshtml
use


@*  Hi this is comment section *@



<!-- Comment in Aspx page --> Wont work in Razor files



1 comment:

  1. @* Hi this is also comment section of this web page *@

    ReplyDelete