title: Use variable as Type
body: <p>Is it possible to make such code work?:</p>
  
  <pre><code>    private List&lt;Type&gt; Models = new List&lt;Type&gt;()
      {
          typeof(LineModel), typeof(LineDirectionModel), typeof(BusStopTimeModel), typeof(BusStopNameModel)
      };
  
      foreach (Type model in Models) // in code of my method
      {
          Connection.CreateTable&lt;model&gt;(); // error: 'model' is a variable but is used like a type
      }
  </code></pre>
  
  <p>Thanks in advance</p>