title: Declare a method with two generic parameters
body: <p>Trying to do the following:</p>
  
  <pre><code>public static class Qbo&lt;T&gt; where T : class
  {
      public static List&lt;Items&gt; Convert(List&lt;T&gt; list1, List&lt;T&gt; list2)
      {
           // Merging lists of different types into one list
      }
  }
  </code></pre>
  
  <p>Calling like this:</p>
  
  <pre><code>var items = Qbo&lt;Bill&gt;.Convert(bills, billPayments);
  var moreItems = Qbo&lt;Invoice&gt;.Convert(invoices, payments);
  </code></pre>
  
  <p>But I get an error because the method tries to accept the first list type as the second list type. Any ideas?</p>