title: Must declare a body becase it is not marked abstract, extern or partial
body: <p>I have created the following class. However, I cannot get past the error:</p>
  
  <blockquote>
    <p>Must declare a body becase it is not marked abstract, extern or partial</p>
  </blockquote>
  
  <p>The classe is as follows:</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Web;
  using System.Runtime.CompilerServices;
  
  namespace VDSORDAL
  {
          public abstract class ObjectComparer&lt;T&gt; : IComparer&lt;T&gt;
          {
              public ObjectComparer(string compareField, string direction);
  
              private string compareField; 
  
              public string CompareField 
              { 
                  get { return compareField; } 
                  set { compareField = value; } 
              }
  
              public string Direction
              { 
                  get { return compareField; } 
                  set { compareField = value;} 
              }
  
              public abstract int Compare(T x, T y);
          }
  }
  </code></pre>
  
  <p>Can someone point out the error in my ways and also give me a brief explanation as to what I am doing wrong and why it is throwing this error? </p>