i am trying loading and saving data by Robert Harvey code in this topic. i can save. but load process is not success full.
i have tried :
var list = XmlHelper.FromXmlFile<List<Item>>(@"c:folderfile.xml");
i did not find the correct namespase for Item
var list = XmlHelper.FromXmlFile<List<Array>>(@"c:folderfile.xml");
{"Object reference not set to an instance of an object."}
var list = XmlHelper.FromXmlFile<List<ArrayList>>(@"c:folderfile.xml");
{"<ArrayOfAnyType xmlns=''> was not expected."}
var list = XmlHelper.FromXmlFile<List<Double>>(@"c:folderfile.xml");
{"<ArrayOfAnyType xmlns=''> was not expected."}
but all of them have error which listed below them.
i want to retrieve those number in form of arraylist or double[];
the XML content :
See Question&Answers more detail:os