From: sahel on
On Jun 16, 7:05 pm, Peter Duniho <NpOeStPe...(a)NnOwSlPiAnMk.com> wrote:
> nicol wrote:
> > [...]
> > class employ : IComparable  // here has error **********
> > {
> >     public int CompreTo(object obj)
>
> If you want to implement IComparable, you have to spell the name of the
> method "CompareTo" correctly.  You can't implement interfaces with
> misspelled method names, such as "CompreTo".
>
> Pete

thanks a lot