Serialization problem
-
Hello. So this is my problems: I have to find a way to save a class of mine to a file. Solution: I found serialization and I thought it might work. But... When I tried BinarySerialization, some chars would just disapear, and I'd get an exception for "not a correct format", so BinarySerialization is OUT of the question (and I tried it in a few ways). XmlSerialization is throwing non-stopable exceptions, I just went to the one after, so that's out of the question also. I tried SOAP serialization, but now I came across another problem. I need to serialize a generic collection which I built. This gives me an exception, saying that it cannot serialize a generic class. (that's after successfuly serializing List). Another thing that I have with SOAP serialization is that i'm not sure that it'll work in Linux (I was unable to install mono), since I need to import the SOAP class from Windows folder. Can anyone recommend me on what to do? Waiting for your help. NaNg.