C# equivalent to php associative array

前端 未结 3 1970
故里飘歌
故里飘歌 2020-12-06 18:35

I\'m customizing a shopping cart application in php. In this application, I have to integrate some parts with another C#.net application, so I\'m using a webservice in a php

3条回答
  •  粉色の甜心
    2020-12-06 19:34

    My guess is that the reason the Dictionary isn't working with the web service call is that Dictionary isn't serializable. Try a SerializableDictionary instead; there's an implementation here:

    http://www.dacris.com/blog/2010/07/31/c-serializable-dictionary-a-working-example/

提交回复
热议问题