Example #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));
        }
Example #2
0
 private int CompareItemsByPlace(Trein x, Trein y)
 {
     return(x.Bestemming.CompareTo(y.Bestemming));
 }