title: Finding non-binary tree depth
body: <p>Can I find non-binary tree depth.
  Every node can have multiple children. We don't know how much is the maximum count of nodes. </p>
  
  <pre><code>public class Node
  {
      private List&lt;Node&gt; nodes;
      private string nodeName;
  
      public Node(string nodeName)
      {
          nodes = new List&lt;Node&gt;();
          this.nodeName = nodeName;
      }
  
      public List&lt;Node&gt; Nodes
      {
          get { return this.nodes; }
          set { this.nodes = value; }
      }
  
      protected string NodeName
      {
          get { return this.nodeName; }
      }
  }
  </code></pre>