title: How can inheritance be applied to a group of classes once
body: <p>In c#, I would like the abstract class to be applied to many other classes. How can I do it without marking each class.</p>
  
  <pre><code>public abstract class Bar
  {
   public bool Blah { get; set; }
  }
  
  public class Foo : Bar
  {
   public int FooId { get; set; }
  }
  
  public class Stool : Bar {}
  public class Fun : Bar {}
  public class NoFun : Bar {}
  </code></pre>
  
  <p>etc, etc.</p>
  
  <p>Is there a way to just grab every class and then mark it as inheriting <code>Bar</code>?</p>