title: How to convert a string to "System.Windows.Forms.TabPage"?
body: <p>I want to remove TabPages of a tabControle in a for loop that looks like this: </p>
  
  <pre><code>for (int i = 1; i &lt; 7; i++)
  {
      var tabPage = "tabPage" + i;
      tabControl.TabPages.Remove(tabPage); // converting error here
  }
  </code></pre>
  
  <p>how can I convert the string to the TabPage object?</p>
  
  <p>thx</p>