title: IComparable<T> Does not Implement
body: <p>I've changed from using <code>IComparable</code> to <code>IComparable&lt;Artist&gt;</code> However I'm getting the error </p>
  
  <blockquote>
    <p>'RecordCollection.Artist' does not implement interface member 'System.IComparable.CompareTo(object)'  </p>
  </blockquote>
  
  <pre><code>class Artist : IComparable&lt;Artist&gt;
  </code></pre>
  
  <p>I've added a CompareTo method.</p>
  
  <p>Not sure what this error means, any help describing why I'm getting this would be great.</p>
  
  <pre><code>class Artist : IComparable&lt;Artist&gt;
  {
      private String Name;
      private int NoMem;
  
      public Artist(string Name, int NoMem)
      {
          this.Name = Name;
          this.NoMem = NoMem; 
      }
  
   public int CompareTo(Artist other)
      {
          if (other == null) return 1;
          else
              return 0;
      }
  }
  </code></pre>
  
  <p>New Artist AVL tree </p>
  
  <pre><code>        AVLTree&lt;Artist&gt; treeAVL = new AVLTree&lt;Artist&gt;();
  </code></pre>