Check out example codes for "read xml file c#". It will help you in understanding the concepts better.

Code Example 1

XmlDocument doc = new XmlDocument();
using (StreamReader streamReader = new StreamReader(path_name, Encoding.UTF8))
{
	contents = streamReader.ReadToEnd();
}
doc.LoadXml(contents);

Learn ReactJs, React Native from akashmittal.com