Why would a WCF method's return type be changed from a generic collection to an array?

前端 未结 4 1526
一整个雨季
一整个雨季 2021-01-21 13:23

I have a WCF service method which I have written for return type as collection type.

But if I generate a proxy class and consume the method from the client the methods r

4条回答
  •  悲&欢浪女
    2021-01-21 14:00

    If you generate the proxy using "Add Service Reference" in Visual Studio there is an "Advanced" button that brings up a dialog that allows you to specify what the return type should be (including Generic types).

提交回复
热议问题