title: How to count the childnodes for the specific node in the XML document?
body: <p>I'm fresher to c#. i've to parse the xml document and have to count the specific node of the childnodes.</p>
  
  <p>e.g:</p>
  
  <pre><code>&lt;Root&gt;
     &lt;Id/&gt;
     &lt;EmployeeList&gt;
        &lt;Employee&gt;
           &lt;Id/&gt;
           &lt;EmpName/&gt;
        &lt;/Employee&gt;
        &lt;Employee&gt;
           &lt;Id/&gt;
           &lt;EmpName/&gt;
        &lt;/Employee&gt;
        &lt;Employee&gt;
           &lt;Id/&gt;
           &lt;EmpName/&gt;
        &lt;/Employee&gt;
      &lt;/EmployeeList&gt;
  &lt;/Root&gt;
  </code></pre>
  
  <p>In this xml, how do I count the "Employee" nodes??</p>
  
  <p>How can i parse and get the solution using XmlDocument class in C#?</p>