Exemple #1
0
        public int Compare(Employee x, Employee y)
        {
            var finalCompareResult = FirstPair.Compare(x, y);

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

            return(SecondPair.Compare(x, y));
        }
 public override string ToString()
 {
     return(FirstPair.ToString() + " ; " + SecondPair.ToString() + " ; " + ThirdPair.ToString());
 }