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)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Decimal128 other)

Parameters

other Decimal128

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.