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

前端 未结 4 1551
一整个雨季
一整个雨季 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 13:47

    If you're using Visual Studio you can just right click your service reference to configure it. You'll then have an option (in advanced settings?) to tell your app how to handle arrays as collections.

提交回复
热议问题