c# Join 2 variable names
<p>I want to declare variables with for loop
the code bellow will illustrate my question</p>

<pre><code>for(var i = 0; i &lt; array.length; i++)
{
    var pos.i = " ";
}
</code></pre>

<p>i want to declare it in that way so the variable name will be (pos0, pos1, pos2,...), anyone can help me?</p>
