title: Overriding method from library
body: <p>There is a virtual method in a library that my C# project references. How can I override this method in another class within my application?</p>
  
  <p>Example:</p>
  
  <pre><code>namespace TheLibary
  {
     class SomeClass
     {
        public virtual void TheMethod()
        {
             //Do Stuff
        }
     }
  }
  </code></pre>
  
  <p>Then in my project:</p>
  
  <pre><code>using theLibary;
  namespace TheProject
  {
     class SomeClass
     {
         public override &lt;Help&gt;
     }
  }
  </code></pre>
  
  <p><strong>Edit:</strong> Confusion and totally forgetting that this class didn't inherit from the libraries class messed me up, it was late :)</p>