title: How to put an interface constraint on a generic method in C# 3.5?
body: <p>I want to achieve something like this in C# 3.5:</p>
  
  <pre><code>public void Register&lt;T&gt;() : where T : interface {}
  </code></pre>
  
  <p>I can do it with class or struct, but how to do it with an interface?</p>