title: Generics and Implementing IComparable
body: <p>I am very new to generics and I am trying to write a simple class which will be generic but also allow sorting of some description on a string member variable. </p>
  
  <p>At the moment I have a basic class but when I try to implement the interface member CompareTo() I get an error at the top telling me it is not implemented. What is the issue here? </p>
  
  <pre><code>using System;
  
  namespace GenericsPracticeConsole.Types
  {
      class SortableGenericType&lt;T&gt; : IComparable
      {
          private T t;
          private string stringName;
  
          public T name
          {
              get { return t; }
              set { t = value; }
          }
  
          public int CompareTo(SortableGenericType&lt;T&gt; ourObject)
          {
              return stringName.CompareTo(ourObject.stringName);
          }
      }
  }
  </code></pre>