No implicit reference conversion error
<p>I am getting the following error when using a CustomObject to instantiate my generic priority queue. It is working well when I instantiate with integer. Can anyone help me figure out the issue.</p>

<p>The error is appearing on line:</p>

<pre><code>PQueue&lt;CustomObject&gt; pq = new PQueue&lt;CustomObject&gt;();
</code></pre>

<blockquote>
  <p>Error CS0311: The type <code>Heap.CustomObject' cannot be used as type
  parameter</code>T' in the generic type or method <code>Heap.PQueue&lt;T&gt;'. There is
  no implicit reference conversion from</code>Heap.CustomObject' to
  `System.IComparable' (CS0311) (Heap)</p>
</blockquote>
