質問

I am having a problem saving an arraylist of a object I created. I implemented ISerializable and I can manually use Xml.Serialization.XmlSerializer to serialize and deserialize it.

When I add it to my arraylist and use the save method it doesn't save. When I reopen my project my arraylist is null. Even if it had other information that wasn't my object, it will toss all of it out.

To test if it was my object, I threw some strings in the array saves and restarted my program and they were still there. Add my object and save / restart and Null.

正しい解決策はありません

他のヒント

It is possible, but a little more involved.

Part 1

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top