public override int GetHashCode() { return base.GetHashCode() ^ TimesToRepeat.GetHashCode(); } #endregion