How to tell the difference between an HtmlGenericControl that is a DIV and one that is a UL?
<p>I have the code below:</p>

<pre><code>foreach (Control c in myControl.Controls)
{
    if(c.GetType().Equals(typeof(HtmlGenericControl)))
    {
        //do something
    }
}
</code></pre>

<p>My problem is that both UL and DIV tags are considered HtmlGenericControl.  Is there another condition I could add, so that only DIVs enter the if statement?</p>
