title: How can a static class derive from an object?
body: <p>I am trying to inherit a non-static class by a static class.</p>
  
  <pre><code>public class foo
  { }
  
  public static class bar : foo
  { }
  </code></pre>
  
  <p>And I get:</p>
  
  <blockquote>
    <p>Static class cannot derive from type.
    Static classes must derive from
    object.</p>
  </blockquote>
  
  <p><strong>How can I derive it from object?</strong></p>
  
  <p>The code is in C#.</p>