combine two strings and convert it to integer variable : <p>I want to take two strings and their combination will give a name of integer variable for example:</p>

<pre><code>int Value1 = 0;
int Value2 = 0;
.
.
.
int Value30 = 0;
int index = 0;
string startOfVar = "Value";
</code></pre>

<p>and now i want to do something like this:</p>

<pre><code>(startOfVar &amp; index) = 50;
</code></pre>

<p>so, if index = 1 then Value1 will be change to 50.
if index = 25 then Value25 will be change to 50.
Obviously, i don't want to do it with array...</p>

<p>I hope the question is clear...</p>

<p>Thanks,
Lior</p>
