是否可以如下有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) {
1 回答
- 1 回答
- 0 关注
- 728 浏览
添加回答
举报
0/150
提交
取消