Hey everybody, asked this question about problems to instantiate a SO with a property that returns a dictionary and the guy who answered me, recommended the use use of ISerializationCallbackReceiver. So I started to implement it considering the example in the documentation. I’m kinda new to coding, but the example just converts the dictionary to a 2 lists and vice-versa, if I got the right idea about it…
In my implementation, I was thinking about use the convertion methods everytime I need to use a serializable type (2 lists) or the original type (dictionary), but something tells me that I’m missing something here. If this interface just converts the non-serializable type into a seriazable one, why this interface exists at all? I mean what’s the point to have an interface in the API if I can just create my own convertion methods instead of using it. Probably, Im not using it right, any thoughts?