Z 6 ) MVC Razor
Razor Controller :- using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace WebApplication1.Controllers { public class StudentController : Controller { // GET: Student public ActionResult Index() { return View(); } } } Model :- using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace WebApplication1.Models { public class Stud { } } View :-( empty , No use Layout ) @model WebApplication1.Models.Stud @{ var h1 = "This is a Razor Application"; } <h1>@h1</h1> // Call using @ Razor View Engine Interview Questions Answers 1. What is Razor View Engine ? :- Razor View Engine is a markup syntax which ...