title: C# GetType().GetField at an array position
body: <pre><code>public string[] tName = new string[]{"Whatever","Doesntmatter"};
  string vBob = "Something";
  string[] tVars = new string[]{"tName[0]","vBob","tName[1]"};
  </code></pre>
  
  <p>Now, I want to change the value of tName[0], but it doesnt work with:</p>
  
  <pre><code>for(int i = 0; i &lt; tVars.Lenght;++i)
  {
      this.GetType().GetField("tVars[0]").SetValue(this, ValuesThatComeFromSomewhereElse[i]));
  }
  </code></pre>
  
  <p>How can I do this?</p>
  
  <p>EDIT: Changed code to show more exactly what I am trying to do.</p>