C# int type in foreach Statement
<p>But I have a code in C# that does not work.</p>

<pre><code>foreach(int CharLength in Char.Length)
{
 //Code Here

}
</code></pre>

<p>However I get an error that say that I cannot pass an int type in the foreach statement.</p>