Serialization of immutable struct?

  • Thread starter Thread starter troy anderson
  • Start date Start date
T

troy anderson

How do you serialize to a file an immutable struct? If I add set {}
routines for all my public properties it works. But my intent is immutable

Thanks
 
If you serialize using the BinaryFormatter it should be working properly. Are
you serializing to XML?
 
Back
Top