public int CompareTo(object obj)
        {
            Band that = (Band)obj;

            return(this.Name.CompareTo(that.Name));
        }
Beispiel #2
0
        public int CompareTo(object obj)
        {
            Band otherband = obj as Band;

            return(this.BandName.CompareTo(otherband.BandName));
        }