Controls.OfType() generic method call not compiling
<p>Consider have this line of code:</p>

<pre><code>List&lt;HtmlGenericControl&gt; listOfDivs = 
     this.clientGrid.Controls.OfType&lt;HtmlGenericControl&gt;()
                             .ToList&lt;HtmlGenericControl&gt;();
</code></pre>

<p>The <code>OfType&lt;&gt;();</code> isn't recognised, assuming due to a missing <code>using</code> directive. I've tried <code>using System.Web.UI.ControlCollection;</code>, but that didn't solve the problem.</p>

<p>How can this be fixed?</p>
