Operator operator ==
operator ==(BsonDateTime, BsonDateTime)
Compares two BsonDateTime values.
public static bool operator ==(BsonDateTime lhs, BsonDateTime rhs)
Parameters
lhs
BsonDateTimeThe first BsonDateTime.
rhs
BsonDateTimeThe other BsonDateTime.
Returns
- bool
True if the two BsonDateTime values are equal according to ==.