Пример #1
0
 public int Compare(int[] left, int[] right)
 {
     return(ComparerHelper.CompareEmptyOrNull(right, left) ?? right.Min().CompareTo(left.Min()));
 }
Пример #2
0
 public int Compare(int[] left, int[] right)
 {
     return(ComparerHelper.CompareEmptyOrNull(left, right) ?? left.Max().CompareTo(right.Max()));
 }