c# class is a namespace but is used like a type code example
Example: namespace but used like a type
namespace TestApplication // Remove .Controller
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
}
}