예제 #1
0
파일: Card.cs 프로젝트: detmach/SharpIrcBot
        public int CompareTo(Card other)
        {
            int currentCompare = Color.CompareTo(other.Color);

            if (currentCompare != 0)
            {
                return(currentCompare);
            }

            return(Value.CompareTo(other.Value));
        }