Example #1
0
        public int CompareTo(ComparablePoint obj)
        {
            var result = Points.CompareTo(obj.Points);

            if (result == 0)
            {
                result = Difference.CompareTo(obj.Difference);
                if (result == 0)
                {
                    result = Scored.CompareTo(obj.Scored);
                }
            }

            return(result);
        }