I have 3 parameters that I am passing to WebMethod but I don't want them to pass as separate 3 parameters. Then I know solution is to pass object but that object must have structure in C#. Is there any other way so that I don't need to build a class and pass parameters in anonymous one? like var or dynamic?
varhere. You can use an string array though depending upon the type of data you want to send.dynamicand send the object without class structure