title: How to remove a Node from XML Node List using C#
body: <p><img src="https://i.stack.imgur.com/QjKgr.jpg" alt="enter image description here">I am having a XmlNodeList xnlSubParam </p>
  
  <pre><code>              XmlDocument xDoc = new XmlDocument();
                xDoc.Load(somexml);
                XmlNode xnParamList = xDoc.SelectSingleNode("//tag");
                XmlNodeList   xnlSubParam = xnParamList.SelectNodes("subparam");
  </code></pre>
  
  <p>Now xnlSubParam will contain a list of nodes </p>
  
  <p>How to get the Node attributes and how to delete a node from the list.I jut want to Delete the Subparam list.. from xnlSubparam how to do this ?
                   In my xml i have a Element Named  Inside the  inside</p>
  
  <pre><code>              &lt;subparam name="test1" displayname="Test1" type="BOOLEAN"/&gt; 
                &lt;subparam name="test2" displayname="Test2" type="BOOLEAN"/&gt;
                &lt;subparam name="test3" displayname="Test3" type="BOOLEAN"/&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/QjKgr.jpg" alt="enter image description here"></p>