title: C# method multiple constraints with "new"
body: <p>I'm trying to define a method that has multiple constraints where the <code>T</code> type is able to be used as a constructor:</p>
  
  <pre><code>private void GetData&lt;T, OType&gt;(string url, string token1, string token2, Action&lt;T, SqlConnection, SqlTransaction&gt; bulkInsert, string user = null, string pwd = null) 
      where T : JsonElements&lt;OType&gt;, new
      where OType : class 
  {
      var thing = T();
  </code></pre>
  
  <p>I'm getting an error on the <code>new</code> part though saying </p>
  
  <blockquote>
    <p>) expected</p>
  </blockquote>
  
  <p>What's the right syntax for this?</p>