In the following code: (WebMethod attribute in web service)
[WebMethod(CacheDuration = 300)]
public string GetData(string Id)
{
}
The intellisense for the WebMethod attribute class constructor shows the second overload as named parameters. My doubt is that aren't named parameter values specified using a colon (:) after the parameter name. How come an equal to operator is used here ?
Thanks.