title: Declare C# Class That Implements a Generic Interface
body: <p>Suppose I have an empty interface class IBaseInterface which is used only to "label" implementing classes as being interfaces themselves.</p>
  
  <p>Is there any way to do something like this?</p>
  
  <p>For example:</p>
  
  <pre><code>public class MyClass : T where T : IBaseInterface
  {
  }
  </code></pre>