Method Equals
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
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
The first Decimal128 object to compare.
The second Decimal128 object to compare.
Returns
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
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
true if obj
and this instance are the same type and represent the same value; otherwise, false.