Interval<T>.Equals Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Equals( | Returns whether this interval is equal to another interval. |
Equals( | Returns whether this instance is equal to a specified object. |
Equals(Interval<T>)
Returns whether this interval is equal to another interval.
public bool Equals(
Interval<T> other
)
Parameters
- other Interval<T>
- An Interval<T>.
Return Value
Booleantrue if the intervals are equal; otherwise false.
Implements
IEquatable<T>.Equals(T)Equals(Object)
Returns whether this instance is equal to a specified object.
public override bool Equals(
Object? obj
)
Parameters
- obj Object
- An object to compare with this instance or null.
Return Value
Booleantrue if obj is an instance of Interval and equals the value of this instance; otherwise, false.