//Vposでソートする
        public int CompareTo(NicoNicoCommentEntry obj)
        {
            if (Vpos == obj.Vpos)
            {
                return(No.CompareTo(obj.No));
            }

            return(Vpos.CompareTo(obj.Vpos));
        }
示例#2
0
        int IComparable <NicoNicoCommentEntry> .CompareTo(NicoNicoCommentEntry obj)
        {
            if (Vpos == obj.Vpos)
            {
                return(Number.CompareTo(obj.Number));
            }

            return(Vpos.CompareTo(obj.Vpos));
        }