Main.Controllers.HomeController.Index C# (CSharp) Method

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult
        public ActionResult Index()
        {
            return View();
        }

Usage Example

 public void testIndex()
 {
     HomeController homeController = new HomeController();
     ActionResult index = homeController.Index();
 }