title: How to get all XML nodes with the same name without knowing their level?
body: <p>I have a XML Example:</p>
  
  <pre><code>&lt;Fruits&gt;
      &lt;Red_fruits&gt;
          &lt;Red_fruits&gt;&lt;/Red_fruits&gt;
      &lt;/Red_fruits&gt;
      &lt;Yellow_fruits&gt;
          &lt;banana&gt;&lt;/banana&gt;
      &lt;/Yellow_fruits&gt;
      &lt;Red_fruits&gt;
          &lt;Red_fruits&gt;&lt;/Red_fruits&gt;
      &lt;/Red_fruits&gt;
  &lt;/Fruits&gt;
  </code></pre>
  
  <p>I have 4 Red_fruits tags, 2 of them shares the same ParentNode (Fruits), I want to get those which have the same ParentNode.</p>
  
  <p>But I just want those which have the same name (Red_fruits), which means Yellow_fruits tag isn't included.</p>
  
  <p>This is the way I am doing right now using C# language:</p>
  
  <pre><code>XmlDocument doc = new XmlDocument();
  string selectedTag = cmbX.text;
  
  if (File.Exists(txtFile.text))
  {
      try
      {
          //Load
          doc.Load(cmbFile.text);
  
          //Select Nodes
          XmlNodeList selectedNodeList = doc.SelectNodes(".//" + selectedTag);
      }
      Catch
      {
          MessageBox.show("Some error message here");
      } 
   }
  </code></pre>
  
  <p>This is returning me all red_fruits, not just the ones that belongs to Fruits.</p>
  
  <p>I can't make XmlNodeList = doc.SelectNodes("/Fruits/Red_fruits") because I want to use this code to read random XML files, so I don't know the exact name that specific node will have, I just need to put all nodes with the same name and same level into a XmlNodeList <strong>using C# Language</strong>.</p>
  
  <p>Is there a way of achieve this without using LINQ? How to do that?</p>