Search code examples
arrayswcfcollectionsinteropwcf-interoperability

WCF - Array or Collection (are they both interoperable)?


Basically, are they both interoperable or is it just the array that is?


Solution

  • They're both projected the same in the WSDL, so you can use one in the client and another in the server without problems. Both T[], Collection and List are considered "the same" as far as WCF is concerned.