title: Is there a generic constructor with parameter constraint in C#?
body: <p>In C# you can put a constraint on a generic method like:</p>
  
  <pre><code>public class A {
  
      public static void Method&lt;T&gt; (T a) where T : new() {
          //...do something...
      }
  
  }
  </code></pre>
  
  <p>Where you specify that <code>T</code> should have a constructor that requires no parameters. I'm wondering whether there is a way to add a constraint like "<em>there exists a constructor with a <code>float[,]</code> parameter?</em>"</p>
  
  <p>The following code doesn't compile:</p>
  
  <pre><code>public class A {
  
      public static void Method&lt;T&gt; (T a) where T : new(float[,] u) {
          //...do something...
      }
  
  }
  </code></pre>
  
  <p>A workaround is also useful?</p>