You try for this it is working code by this you can read Xml tags:
private void Button1_Click(object sender, EventArgs e)
{
XmlTextReader reader = new XmlTextReader("C:\\Users\\Dell\\Desktop\\New folder\\XMLFile1.xml");
while (reader.Read())
{
switch (reader.NodeType)
{
case XmlNodeType.Element:
MessageBox.Show("<" + reader.Name);
break;
}
}
}
regarding any query about XML then always welcome...