Passing null to web method in C#
<p>I have given a web service Url. One of its methods have an argument that if I pass null it does something and if pass int does something else. I have added a service reference to project. C# does not accept passing null to that argument because it has implemented its interface to accept int and not int? (nullable int).</p>

<p>Please advise.</p>
