Table of Contents

Method Equals

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Equals(Decimal128, Decimal128)

Determines whether the specified Decimal128 instances are considered equal.

public static bool Equals(Decimal128 x, Decimal128 y)

Parameters

x Decimal128

The first Decimal128 object to compare.

y Decimal128

The second Decimal128 object to compare.

Returns

bool

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

Equals(Decimal128)

public bool Equals(Decimal128 other)

Parameters

other Decimal128

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool