I have tried to serialize Dictionary<string, string>
using SoapFormatter
, but it throws an exception
Soap Serializer does not support serializing Generic Types : System.Collections.Generic.Dictionary`2[System.String,System.String].
Serialization of Dictionary<string, string>
works with BinaryFormatter.
Anyone have idea about why SoapFormatter
does not support serializing Generic Types?