Table of Contents

Method Equals

Namespace
Bonsai
Assembly
Bonsai.Core.dll

Equals(Range<TValue>)

Returns a value indicating whether this instance has the same lower and upper bounds as a specified Range<TValue> object.

public bool Equals(Range<TValue> other)

Parameters

other Range<TValue>

The Range<TValue> object to compare to this instance.

Returns

bool

true if other has the same lower and upper bounds as this instance; otherwise, false.

Equals(object)

Tests to see whether the specified object is a Range<TValue> object with the same lower and upper bounds as this Range<TValue> instance.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with this instance.

Returns

bool

true if obj is a Range<TValue> and has the same lower and upper bounds as this Range<TValue>; otherwise, false.