当我们在web服务中创建[WebMethod]时,它应该是静态的还是非静态的是什么概念?

问题描述:

当我们在Web服务中创建[WebMethod]时它应该是静态的还是非静态的是什么概念?

when we create [WebMethod] in web services then it should be static or non static what is the concept?

它应该是静态的web方法是无国籍的。
It should be static as the web method is stateless.