// ----------------------------------- // ----- object methods overriding---- // ----------------------------------- public override string ToString() { return((IsLeftInclusive?"[":"(") + LeftBound.ToString() + "; " + RightBound.ToString() + (IsRightInclusive?"]":")")); }