Click or drag to resize

Decimal128Equals Method (Decimal128, Decimal128)

Determines whether the specified Decimal128 instances are considered equal.

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax
public static bool Equals(
	Decimal128 x,
	Decimal128 y
)

Parameters

x
Type: MongoDB.BsonDecimal128
The first Decimal128 object to compare.
y
Type: MongoDB.BsonDecimal128
The second Decimal128 object to compare.

Return Value

Type: Boolean
True if the objects are considered equal; otherwise false. If both x and y are null, the method returns true.
See Also