是否可以如下有N个重载呢?为什么?
[AcceptVerbs(HttpVerbs.Get)] public ActionResult Index(string Name) { }
[AcceptVerbs(HttpVerbs.Get)] public ActionResult Index(int Id) { } [AcceptVerbs(HttpVerbs.Post)] public ActionResult Index(int n,int a,int b) {
相关分类