首页 > [WebMethodAttribute()] 与 [WebMethod] 有什么区别?

[WebMethodAttribute()] 与 [WebMethod] 有什么区别?

这两个特性标识难道是等同的?

还有,[System.Web.Services.WebMethodAttribute(), System.Web.Script.Services.ScriptMethodAttribute()] 有什么作用?


建议看看《c# via clr》


我只能回答你标题的问题:没区别,但是通常使用后者

【热门文章】
【热门文章】