public ActionResult Index() { ViewBag.Message = "Modify this template to jump-start your ASP.NET MVC application."; ViewBag.GenericMessage = "AreEqual ?" + GenericsTest <string> .AreEqual("B", "B"); customer c1 = new customer(); c1.fname = "Satish"; c1.lname = "Doranahalli"; ViewBag.Customer = "Dear " + c1.ToString(); return(View()); }