示例#1
0
        public int CompareTo(object obj)
        {
            Band that = (Band)obj;

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

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