Interval<T>.Equals Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

Equals(Interval<T>) Returns whether this interval is equal to another interval.
Equals(Object) Returns whether this instance is equal to a specified object.

Equals(Interval<T>)

Returns whether this interval is equal to another interval.
C#
public bool Equals(
	Interval<T> other
)

Parameters

other  Interval<T>
An Interval<T>.

Return Value

Boolean
true if the intervals are equal; otherwise false.

Implements

IEquatable<T>.Equals(T)

Equals(Object)

Returns whether this instance is equal to a specified object.
C#
public override bool Equals(
	Object? obj
)

Parameters

obj  Object
An object to compare with this instance or null.

Return Value

Boolean
true if obj is an instance of Interval and equals the value of this instance; otherwise, false.

See Also