public int CompareTo(object obj) { var other = (Period)obj; return(Delta.CompareTo(other.Delta)); }//no null handling as struct can't be null