title: Is it possible to write extension methods for Console?
body: <p>While looking at <a href="https://stackoverflow.com/questions/1655318/how-to-set-default-input-value-in-net-console-app">this question</a> and it's answers I thought that it would be a good idea to write an extension method for <code>System.Console</code> that contained the desired functionality.</p>
  
  <p>However, when I tried it, I got this compiler error </p>
  
  <blockquote>
    <p>System.Console': static types cannot
    be used as parameters</p>
  </blockquote>
  
  <p>Here's the code:</p>
  
  <pre><code>using System;
  using System.Runtime.CompilerServices;
  
  namespace ConsoleApplication1
  {
      public static class ConsoleExtensions
      {
          [Extension]
          public static string TestMethod(this Console console, string testValue)
          {
              return testValue;
          }
  
      }
  }
  </code></pre>
  
  <p>Is there another way of creating extension methods for static types? Or is this just not possible?</p>