Operator operator !=
operator !=(ObjectId, ObjectId)
Compares two ObjectIds.
public static bool operator !=(ObjectId lhs, ObjectId rhs)Parameters
Returns
- bool
- True if the two ObjectIds are not equal. 
Compares two ObjectIds.
public static bool operator !=(ObjectId lhs, ObjectId rhs)True if the two ObjectIds are not equal.