Results from a for cycle into an array?
<p>I am new in C# so my question could be very stupid for you. Anyway - I am trying to get all results that a for cycle produses into a single array. Is this possible and if it is - how?</p>

<p>example:   </p>

<pre><code>for(i=0; i&lt;5; i++){ 
     int[] array = 5 &lt;&lt; i
</code></pre>
