A concise way to generate an array of integers 1 to 100 in c#
<p>I am looking for a concise way to generate an array of integers 1 to 100 in c# , ie </p>

<pre><code>        int[] values =  {1,2,3 ..., 100}; 
</code></pre>

<p>so that I can use the array in a foreach loop: </p>

<pre><code>       foreach (var i in values)
        {
            // do whatever  
        }
</code></pre>

<p>Any ideas? </p>
