예제 #1
0
        private int CompareItemsBySpoor(Trein x, Trein y)
        {
            if (x.Spoor == null || y.Spoor == null)
            {
                return(0);
            }

            return(x.Spoor.Value.CompareTo(y.Spoor.Value));
        }
예제 #2
0
 private int CompareItemsByPlace(Trein x, Trein y)
 {
     return(x.Bestemming.CompareTo(y.Bestemming));
 }