title: GetType in static method
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2081612/net-determine-the-type-of-this-class-in-its-static-method">.NET: Determine the type of “this” class in its static method</a>  </p>
  </blockquote>
  
  
  
  <p>How can I make <code>GetType()</code> accessible from a <code>static</code> method?</p>
  
  <p>I have this abstract base class</p>
  
  <pre><code>abstract class MyBase
  {
     public static void MyMethod()
     {
        var myActualType = GetType(); // this is an instance method
        doSomethingWith(myActualType);
     }
  }
  </code></pre>
  
  <p>and an implementation of that class.  (I could have many implementations.)</p>
  
  <pre><code>class MyImplementation : MyBase 
  {
      // stuff
  }
  </code></pre>
  
  <p>How can I get <code>myActualType</code> to be <code>typeof(MyImplementation)</code>?</p>