Sorting an IList in C#

前端 未结 15 2389
臣服心动
臣服心动 2020-11-28 06:36

So I came across an interesting problem today. We have a WCF web service that returns an IList. Not really a big deal until I wanted to sort it.

Turns out the IList

15条回答
  •  一个人的身影
    2020-11-28 06:52

    In VS2008, when I click on the service reference and select "Configure Service Reference", there is an option to choose how the client de-serializes lists returned from the service.

    Notably, I can choose between System.Array, System.Collections.ArrayList and System.Collections.Generic.List

提交回复
热议问题