title: How to declare a variable using a string?
body: <p>I need to declare a variable with a name that matches a string.</p>
  
  <p>This is what I need to work, but in reality it compiles with a new expression instance with the name <code>"s"</code> (I need it to take the name that is stored in the string s)
  How can I solve this?</p>
  
  <p>Code:</p>
  
  <pre><code>foreach (string s in StringArray)
              {
                  if (SomeDifferentArray.Contains(s) != true)
                  {
                      Expression s = new Expression(); 
                  }
              }
  </code></pre>
  
  <p>I need a new instance of expression for each string in <code>StringArray</code>, and each of those expressions needs to be named according to the literal that the string holds.</p>