C# equivalent to php associative array
问题 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 shopping cart. In one method of the webservice, some values should pass as an associative array like this: $proxy = new SoapClient('www.mywebservice.com?wsdl'); $associative_array= array( 'abc'=> 1,'def'=>0,'ghi'=>1,'jkl'=>0 ); $proxy->call($sessionId, 'methodname', array('somevalue', $associative_array)); In php its