Table of Contents

Operator operator ==

Namespace
Bonsai
Assembly
Bonsai.Core.dll

operator ==(Range<TValue>, Range<TValue>)

Tests whether two Range<TValue> objects are equal.

public static bool operator ==(Range<TValue> left, Range<TValue> right)

Parameters

left Range<TValue>

The Range<TValue> object on the left-hand side of the equality operator.

right Range<TValue>

The Range<TValue> object on the right-hand side of the equality operator.

Returns

bool

true if left and right have equal lower and upper bounds; otherwise, false.