It’s a light weight view engine. Till MVC we
had only one view type i.e.ASPX, Razor was introduced in MVC 3.
is clean, lightweight and syntaxes are each as compared to ASPX. For example in
ASPX to display simple time we need to write.
Razor it’s just one line of code.
per Microsoft razor is more preferred because its light weight , can be unit
tested and has simple syntaxes comparatively.
Below is an important c# interview question and answers video
See more stuffs on c# and ASP.NET MVC interview question and
Click here to view more c#/ ASP .NET
and MVC interview question and answers