public void ChangeInterval( T lowerValue, T higherValue )
Parameters
- lowerValue
- The lower boundary of the interval.
- higherValue
- The higher boundary of the interval.
public void ChangeInterval( T lowerValue, T higherValue )
Interval<int> interval = new Interval<int>(-15, 23); // Change values of the interval. interval.ChangeInterval(5, 23); Console.WriteLine(interval.ToString()); // Result: "5 ~ 23"