title: c# Convert string to Variable
body: <p>I am working in C# converting MS Batch files to WindowsForms.</p>
  
  <p>I have need to read in a list of key=value lines from text files and convert the key to a variable.</p>
  
  <p><strong><em>Example text</em></strong><br/>
  MailClass=Std<br/>
  Selectivity=MailNoErrors<br/>
  MailForeigns=No<br/>
  ImbType=FS<br/>
  Postnet=No<br/></p>
  
  <p>I would like to set these as variables to be passed between methods and forms as needed. </p>
  
  <pre><code>string MailClass = "Std";
  string Selectivity = "MailNoErrors";
  string MailForeign s= "No";
  string ImbType = "FS";
  string Postnet = "No";
  </code></pre>
  
  <p>I am thinking of loading them into a List[] array.</p>
  
  <p>Where I am getting is how do I make them actual variables?</p>