Find Minimum value in class hierarchy
<p>Given the following classes (lets pretend they are populated), how would you find the minimum value of any <code>val</code> for an instance of <code>test1</code>?</p>

<pre><code>    public class test1
    {
        public int val;
        public List&lt;test2&gt; Tests;
    }

    public class test2
    {
        public int val;
        public List&lt;test3&gt; Tests;
    }

    public class test3
    {
        public int val;
        public List&lt;test4&gt; Tests;
    }

    public class test4
    {
        public int val;
    }
</code></pre>
