C# insert a varible
<p>I have this code:</p>

<pre><code> if (arrayList.Contains(5) == true)
 {
     //something
 }
</code></pre>

<p>This there anyway to insert a string varible with the value <code>arrayList</code>?</p>

<p>Code would be something like this: </p>

<pre><code>string variable = "arrayList";
if (variable.Contains(5) == true)
{
    //something
}
</code></pre>
