Does the BinaryArchiveWriter removes empty string values from a dictionary?

I persist a dictionary that has some empty string values using BinaryArchiveWriter.WriteDictionary(myDict).

But when retrieve it using BinaryArchiveReader.ReadDictionary() these props are gone.
All other are there.
What am I missing?

I know about TryGetString but…it’s kind of a PITA.
is there a more elegant way to set objects properties from a dictionary?


Hi @ruisantosfortes,

Feel free to post sample code that doesn’t work for you.

– Dale