title: Using empty parent class just to group other classes. Is there a better approach?
body: <p>I have several classes that conceptually belong to one tier. They have no common properties which is why they have no need to inherit from some base class.</p>
  
  <p>I also have a few methods that deal with these classes. Some of them are templates of the following style:</p>
  
  <pre><code>public SomeClass
  {
      public void SomeMethod&lt;T&gt; (T argument) where T : BaseClass
      {
          /* Do something */
      }
  }
  </code></pre>
  
  <p>So I'm using this WHERE keyword just to secure the code (from myself I suppose), so that I don't by mistake feed to this method something else.</p>
  
  <p>Naturally I made those other classes derive from BaseClass which is empty and has no other purpose (at least for now) than to group other classes.</p>
  
  <p>This is probably not that good approach but anyway I'm using it.</p>
  
  <p>Is there a better way to do this?</p>
  
  <p>EDIT: After consideration I decided not to go with that approach and just removed that base class. Good enough without it. I cannot make the code absolutely perfect anyway, and the less unneeded thing there are the better.</p>