c# search arraylist problem
<p>In my code I have an arraylist, called heart, which contains numbers from 1-13.</p>

<pre><code>heart.Add("any");

for(int i = 0; i &lt; 14; i++)
{
    heart.Add(i);
}
</code></pre>

<p>As you can see it also contains "any" placed in the first element. When I use this code to get the all of the elements that has a value over 5 I get an error.</p>

<pre><code>int store = heart.Cast&lt;int&gt;().Where(item =&gt; item &gt; 5).Count().ToString();
</code></pre>

<p>I get the error "Specified cast is not valid" and that's because of the
"any" I have in the first element. Could anyone help me fix this?</p>
