Returns a formatted string representation of this interval using conventional notation.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public override string ToString()
Visual Basic (Declaration)
Public Overrides Function ToString As String
Visual C++
public:
virtual String^ ToString() override

Return Value

A formatted string representation of this interval.

Remarks

An open bracket '[' denotes that the left endpoint is included in the interval; an open parens '(' denotes that the left endpoint is not included in the interval. A similar statement holds true for the characters ']' and ')' and right endpoints. For example [a, b] denotes a closed interval containing both its endpoints, while (a, b) denotes an open interval which contains neither of its endpoints.

See Also