posted 4 years ago
CSHtml is basically razor view extension and any view renders in html finally.You need to use razor in your application as it supports server side code but raw html does not
In cshtml
but html dooesn't provide var declaring to varaiable
.NET Developer at iFour Technolab Pvt LTd