title: How do you get the root node or the first level node of the selected node in a tree view?
body: <p>Are there more straight forward method than the code below to get the root nodes or the first level nodes in a tree view?</p>
  
  <pre><code>TreeNode node = treeView.SelectedNode;
  
  while(node != null)
  {
         node = node.Parent;
  }    
  </code></pre>