public int CompareTo(Event other) { int compare = StartTime.CompareTo(other.StartTime); if (compare != 0) { return(compare); } return(Type.CompareTo(other.Type)); }
public int CompareTo(EventBase other) { return(Type.CompareTo(other.Type)); }