Set "left" attribute on a for loop name in C#
<pre><code>            for (int i = 1; i &lt; 3; i++)
            {
                int randomSpeed = RandomNumber(2, 10);

                 "apa" + i.Left -= randomSpeed;
            }
</code></pre>

<p>Look at the  <code>"apa" + i.Left -= randomSpeed;</code> this is wrong.</p>

<p>I have PictureBoxes that have names apa1, apa2 and apa3. </p>

<p>I would like to set the Left of the names apa+ i</p>

<p>How can i set the Left to the random speed in the loop for each of them?</p>
