Can someone explain the format for ASP.NET MVC controllers? They look like this:
public class ProductsController : Controller
{
public ActionResult Edit(int id)
{
}
}
Why don't they follow standard C # annotations with three abbreviations and XML markup? And why is there an empty line between the comment and the method?
I think it looked something like this:
public class ProductsController : Controller
{
public ActionResult Edit(int id)
{
}
}
source
share