Is there a good way of marshalling a Dictionary<string, string>
over COM interop?
Ideas so far include tokenising each KeyPair
to an array of strings which can be marshalled as a SafeArray
, or having two string arrays containing keys and values.
Neither seems particularly satisfactory. Any ideas?