I am inexperienced with parsing XML files, and I am saving line graph data to an xml file, so I did a little bit of research. According to this article, out of all the ways
Other simple method is using "ReadXml" inbuilt method.
string filePath = "D:\\Self Practice\\Sol1\\Sol1\\Information.xml"; DataSet ds = new DataSet(); ds.ReadXml(filePath);
Note: XML file should be orderly manner.
Reference