title: method parameter with multiple interface restrictions
body: <p>In C# it's possible to defined a method parameter with two interface restrictions. This with bounds. For example.</p>
  
  <pre><code>interface IA
  {
    int A {get;}
  }
  interface IB
  {
    int B {get;}
  }
  void Foo&lt;T&gt;(T param1) where T: IA, IB    {}
  </code></pre>
  
  <p>So two interfaces, and the first parameter (<code>param1</code>) of the method <code>Foo</code> should implement both interfaces.</p>
  
  <p>But is this really useful? AFAIK it's not possible to cast an object to multiple interfaces in C#? Of course a class can implement two interfaces. </p>