How do you find out if a control derives from a class
<p>I have a list of controls (_controlList) and from that list of controls I want to get the ones that derive from a given class. So I have code that looks like this.</p>

<pre><code>List&lt;Control&gt; _controlList = new List&lt;Control&gt;();

public Control[] ControlsThatIsA(Type soughtType)
{
  List&lt;Control&gt; result = new List&lt;Control&gt;();
  foreach (Control control in _controlList)
  {
// This would have been nice but doesn't compile
//////////////
//  if (control.GetType() is soughtType)
    {
      result.Add(control);
    }
  }
return result.ToArray();
}
</code></pre>

<p>Any thoughts. I don't have to pass in the Type, it could be the string name of the class</p>
