Table of Contents

Operator operator ==

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

operator ==(BsonDecimal128, BsonDecimal128)

Compares two BsonDecimal128 values.

public static bool operator ==(BsonDecimal128 lhs, BsonDecimal128 rhs)

Parameters

lhs BsonDecimal128

The first BsonDecimal128.

rhs BsonDecimal128

The other BsonDecimal128.

Returns

bool

True if the two BsonDecimal128 values are equal according to ==.